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

Once again, my example does exactly what `document.write` would do, without breaking the document inline and synchronously. You cannot reproduce my example with other elements, it's similar case of a tempalte one. `script` is a special element and it cannot be replaced with any other, this is a fact.

`<script is="ruby-runtime"></script>` could be another case, and `<script is="webgl-sharder" type="x-shader/x-fragment"></script>` another one too. 

`script` has been used for ages already for valid reasons and its transparency.
If you'd like to learn more about how `script` is special, you can start from here:
https://www.w3.org/TR/html5/scripting-1.html#the-script-element

Best Regards

-- 
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-261782682

Received on Sunday, 20 November 2016 14:51:27 UTC