[Webkit-unassigned] [Bug 233380] CSS :scope pseudo selector doesn't work in shadowRoot.querySelectorAll

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 20 12:03:27 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=233380

--- Comment #5 from Andrei Anischevici <andrei002 at gmail.com> ---
(In reply to Andrei Anischevici from comment #4)
> I see that there's a new ::shadow pseudo-element proposed that would allow
> an alternate solution to this issue
> https://www.w3.org/TR/css-scoping-1/#shadow-pseudoelement
> however, none of the browsers seem to implement it at this point..
Actually this no longer applies, since that suggestion is from the 2014 CSS Scoping Module Level 1 spec, and in the latest 2021 spec the ::shadow pseudo-element can no longer be found https://drafts.csswg.org/css-scoping/

https://developers.google.com/web/updates/2017/10/remove-shadow-piercing

So, the only viable solution to the issue is to fix the ":scope" pseudo-class so it works on shadow roots.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211120/f4b087ab/attachment.htm>


More information about the webkit-unassigned mailing list