[Webkit-unassigned] [Bug 210701] New: :is() / :where() should not allow pseudo-elements at parse-time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 18 15:21:18 PDT 2020


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

            Bug ID: 210701
           Summary: :is() / :where() should not allow pseudo-elements at
                    parse-time
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emilio at crisal.io
                CC: koivisto at iki.fi, simon.fraser at apple.com

https://drafts.csswg.org/selectors/#matches:

> Pseudo-elements cannot be represented by the matches-any pseudo-class; they are not valid within :is().

That seems to me like :is(foo::before) should be invalid at parse-time. Instead webkit parses it, but never matches it.

-- 
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/20200418/eb78c7d9/attachment.htm>


More information about the webkit-unassigned mailing list