Re: [w3c/webcomponents] The is="" attribute is confusing? Maybe we should encourage only ES6 class-based extension. (#509)

> Regardless of whether `app-drawer` uses shadow DOM or not, it functions as expected.

Not necessarily true for custom elements in general. Try using ShadowDOM with the A-Frame Custom Elements that are available at http://aframe.io, and you'll see that they [won't work as expected (jsfiddles)](https://github.com/aframevr/aframe/issues/1492#issuecomment-254351556). A-Frame (and any [other Custom Elements](https://infamous.io/) used for constructing custom render trees) need to be able to construct an internal representation of the final flat tree which is the result of composed shadow trees, and then this internal representation of the flat tree can be used (for example) to render a scene in WebGL or Canvas 2D.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/509#issuecomment-258585030

Received on Saturday, 5 November 2016 02:19:49 UTC