News for hackers. Stuff that matters.
Re:Introducing Shadow DOM API by nostrademons on Monday October 26, 2015 @03:29PM (#10453807)
That's the exact opposite of the reason why browser vendors are implementing web components. It's so that they can get direct, real-world feedback from actual users of a feature before baking it into standards and making it impossible to remove from the web. The intent has always been that the most frequently used webcomponents will end up getting baked into the browser, and then into the HTML spec.

We used to write web specs speculatively, without having feedback from real-world use, and it was a disaster. Take a look at the list of W3C standards:

https://en.wikipedia.org/wiki/World_Wide_Web_Consortium#Stan...

How many of them do you actually use? Remember when everything was XML, XPATH, XSLT, the semantic web, and we were going to replace HTML with XHTML?

Re:Introducing Shadow DOM API by mozumder on Monday October 26, 2015 @03:56PM (#10453989)
The intent has always been that the most frequently used webcomponents will end up getting baked into the browser, and then into the HTML spec.

That's nice in theory, but what's happening in reality is that no component is going to be standardized, and HTML remains stagnant for another 15 years.

Re:Introducing Shadow DOM API by nostrademons on Monday October 26, 2015 @04:12PM (#10454111)
It's a little hard to make that argument when web components themselves aren't standardized yet, and are fully supported natively in only one of the major browsers.

There's pretty ample evidence that common webdeveloper behavior does make it into the spec, eg. JQuery => querySelectorAll, Javascript animations => CSS transitions & animations, long-polling => websockets, common layouts => <header>/<footer>/<main>/<nav> elements, dropdowns => <details>/<summary> elements, the addition of date/datetime/color/number/range/tel input types, etc. If you're still coding HTML like you did in 2000, you are now very obsolete.