Post #881999
2026-03-28 15:51 UTC
Do I know any @developers devs that work close to #css that I could nerdsnipe into figuring out how chromium could catch up to webkit in so far as a `:host(:has(~ ul li)) {}` selector?
See it in action, here: https://codepen.io/Westbrook/pen/EayLZow
Checkout the #CSSWG convo, here: https://github.com/w3c/csswg-drafts/issues/11859#issuecomment-3834942939
#webComponents developers want all the same `:has()` goodies that anyone can leverage, and you could be the hero we both need and deserve!! 🦸
Replies (1)
-
@zacky@m.marchbox.com 2026-03-28 16:42
@westbrook@mastodon.social I’m AFK so can’t test but wondering if `:host-context()` could achieve the same?