Moonchild, the lead developer of the Pale Moon browser writes:
"Dear Web Developer(s),
While, as a software developer ourselves, we understand very well that new features are exciting to use and integrate into your work, we ask that you please consider not adopting Google WebComponents in your designs. This is especially important if you are a web developer creating frameworks for websites to use.
With Google WebComponents here we mean the use of CustomElements and Shadow DOM, especially when used in combination, and in dynamically created document structures (e.g. using module loading/unloading and/or slotted elements).Why is this important?
For several reasons, but primarily because it completely goes against the traditional structure of the web being an open and accessible place that isn't inherently locked down to opaque structures or a single client. WebComponents used "in full" (i.e. dynamically) inherently creates complex web page structures that cannot be saved, archived or even displayed outside of the designated targeted browsers (primarily Google Chrome).
One could even say that this is setting the web up for becoming fully content-controlled."
https://about.google/: "Our mission is to organize the world's information and make it universally accessible and useful"
Useful to... whom?
(Score: 2) by darkfeline on Saturday March 21 2020, @10:19PM (2 children)
The same reason most programming languages have visibility rules, and why namespaces as a concept exists everywhere.
https://stackoverflow.com/a/16677331/469721 [stackoverflow.com]
Join the SDF Public Access UNIX System today!
(Score: 0) by Anonymous Coward on Sunday March 22 2020, @01:24PM (1 child)
CSS rule to reset cascade should be enough, IMO. However hard it is (or not), it is still less of a pain than web components.
As for namespaces, for HTML devs namespaces are hard and the spawn of Satan, apparently. XHTML died that way (you don't have to make the whole document on parse error, but that's how it went). On the other hand @prefix and og:title and co. metadata still exist and nobody is complaining for some reason.
(Score: 0) by Anonymous Coward on Sunday March 22 2020, @01:26PM
*make the whole document invalid