Re: [csswg-drafts] [css-scoping-1] Dynamic changes of state and attributes referenced by :host-context rules are pretty hard to handle efficiently. (#1914)

@woody-li I was indeed able to implement a dark mode scenario (i needed to manually enable dark/light mode by adding a CSS variable to an ancestor) using container style queries with Shadow DOM based component, replacing a need for `host-context()`. 

However the lack of support of other vendors is somewhat worrying.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 10 February 2024 13:36:01 UTC