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

The directionality use case is best served by `:dir` pseudo selector. The dark theme case is best served via CSS custom variables. Note there is no guarantee that your component isn't used where the theme is defined so `:host-context` is awfully unsuited for theming purposes.

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

Received on Monday, 17 June 2019 21:20:30 UTC