[Webkit-unassigned] [Bug 210690] New: [CSS selectors] Support :where() pseudo class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 18 09:33:10 PDT 2020


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

            Bug ID: 210690
           Summary: [CSS selectors] Support :where() pseudo class
           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: koivisto at iki.fi

https://drafts.csswg.org/selectors-4/#zero-matches

The Specificity-adjustment pseudo-class, :where(), is a functional pseudo-class with the same syntax and functionality as :is(). Unlike :is(), neither the :where pseudo-class, nor any of its arguments contribute to the specificity of the selector—its specificity is always zero.

This is useful for introducing filters in a selector while keeping the associated style declarations easy to override.

-- 
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/322cabe2/attachment.htm>


More information about the webkit-unassigned mailing list