News for hackers. Stuff that matters.
Re:Declarative Shadow DOM by transfire on Friday October 02, 2020 @05:19AM (#24660680)
One wonders if they couldn't just make CSS namespace aware.
Re:Declarative Shadow DOM by wiredearp on Friday October 02, 2020 @11:31AM (#24663637)
They did that already over on http://mdn.io/css/namespace
Re:Declarative Shadow DOM by chrismorgan on Friday October 02, 2020 @06:49AM (#24661225)
I’m not sure what you’re saying here—it seems to be entirely unrelated to declarative Shadow DOM. Can you explain more?
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.
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).
Re:Declarative Shadow DOM by gkilmain on Saturday October 03, 2020 @05:07AM (#24670670)
Sounds good.