- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 07 Jul 2022 22:01:03 +0000
- To: public-css-archive@w3.org
Implementations (Blink & WebKit) already disallow pseudo-elements (but `:has()` is forgiving): ```js var s = document.createElement("style"); s.textContent = ":has(foo, ::before, bar) { color: blue }"; document.documentElement.append(s); s.sheet.cssRules[0].selectorText; // ':has(foo, bar)' ``` -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7463#issuecomment-1178270686 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 7 July 2022 22:01:05 UTC