Re: [whatwg/dom] Declarative Shadow DOM (#831)

The thing I'd probably most often do with declarative Shadow DOM (or whatever it'll end up being called) is simply wrapping an element in a parent to which arbitrary styles can be applied. Second on the list: adding adjacent siblings (and no, `::before` and `::after` in combination with `display: contents` often isn't enough, it creates more siblings than desired if there are multiple children). I want to be able to do it without changing my markup (because I care about semantics) and without scripting (that's overkill and not declarative). When XBL was being standardized by the W3C many years ago, in the 2000s, I expected such basic and ubiquitous (and direct, no bloated frameworks or libraries) needs to be provided for by Rec level specs and quality implementations very soon. I have my opinions and could go into details, but I'll just leave it here at this level of generality, noting that clearly something has gone horribly wrong. And still is, apparently, given the reluctance shown by some to move forward with this. To conclude: please reconsider the priorities and bring back to the table the most self-evident, long postponed use cases.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/831#issuecomment-864568523

Received on Monday, 21 June 2021 02:46:37 UTC