Re: [csswg-drafts] [css-shadow-parts-1] Can class name selectors apply to a part? (#3431)

On the contrary to what you've stated, reading DOM state to update `:state(~)` would be zillion times faster than what you're proposing. With what you're proposing, we'd have to create a dependency graph of all states that could in turn affect other `:state` which can then in turn affect other `:state`. Something like that would be hard to implement efficiently.

We should go with a JS DOM API. It would be simpler & more efficiently implementable.

-- 
GitHub Notification of comment by rniwa
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3431#issuecomment-460016389 using your GitHub account

Received on Sunday, 3 February 2019 02:10:04 UTC