Open snuggs opened 7 years ago
Thanks, I will try to keep up.
No worries @brandondees I'll let you know where the 🔥 s are.
Awesome. Will keep my eyes on this.
@brandondees update from the last TPAC meeting. /cc @tmornini @btakita @kurtcagle https://www.w3.org/2017/11/10-webplat-minutes.html
@brandondees @btakita @tmornini is=...
attribute has some interesting ideas being flushed out. Algos fairly simple to reproduce in user land as well. Gives the ability to subclass existing elements. i.e. custom dropdown box with customized event loop hooks behind the scenes.
https://github.com/w3c/web-platform-tests/pull/9175 https://github.com/w3c/web-platform-tests/pull/9147 @brandondees @btakita @tmornini ability to extend from native HTML Elements added! In WPT (Web Platform Tests). ALL Browsers MUST implement now.
@brandondees remember we had the discussion of whether or not to extend HTMLElement
as @tmornini mentioned a while ago extenitions are best avoided if possible. The spec forced extensions
We implement the following:
Element `foo-bar`
// merely a factory that links the string name to the following class.
// then `.define (element)`s for current/future occurrences
// and `.upgrade (element)`s existing.
(class extends HTMLElement {})
We had contemplated
Element `foo-bar`
(class { /* We'll extend for you */ })
In retrospect this is where being lazy (which is usually a great thing) becomes a footgun.
@snuggs 👍
@brandondees @tmornini @RobertChristopher @btakita @rianby64 TL;DR; Of what's on the platform spec horizon from TPAC meeting in TOKYO. #CustomElements2020
IMHO scoped encapsulation registries seems interesting.
https://docs.google.com/document/d/1HP4f-vYZ29uUlHDqxHdftoAFBnhQZ-UFnks3m5bRfA4/edit
Should probably keep an eye on this @brandondees @RobertChristopher @janz93 @mrbernnz @btakita @scottmacdowell.
2018 - https://github.com/w3c/webcomponents/issues/763#758
Proposal to improve the DOM creation api github.com/whatwg/dom/issues/150 github.com/whatwg/dom/issues/477 lit-html https://gist.github.com/WebReflection/fadcc419f5ccaae92bc167d8ff5c611b https://github.com/PolymerLabs/lit-html/issues/32#issuecomment-320800997
JSDOM
hyperhtml https://viperhtml.js.org/hyperhtml https://medium.com/@WebReflection/dom-handleevent-a-cross-platform-standard-since-year-2000-5bf17287fd38 https://twitter.com/WebReflection/status/877131029303230464
Mozilla Custom Elements (Shadow Dom) https://bugzilla.mozilla.org/show_bug.cgi?id=1205323