Re:Declarative Shadow DOM
by gkilmain on Friday October 02, 2020 @03:44PM
(#24666358)
I think what they're saying is since the article says this "Shadow DOM provides a way to scope CSS styles to a specific DOM subtree and isolate that subtree from the rest of the document." if we could just make CSS namespace aware maybe we don't need the Shadow DOM after all.
[ Parent
| on HN ]
Re:Declarative Shadow DOM
by chrismorgan on Friday October 02, 2020 @04:43PM
(#24666823)
But even then, what do you mean by “namespace”? Like, if we’re talking XML namespaces, CSS has that. But I don’t think that’s what’s meant. But I haven’t the foggiest idea what is meant (hence the request for clarification).