WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
210690
[CSS selectors] Support :where() pseudo class
https://bugs.webkit.org/show_bug.cgi?id=210690
Summary
[CSS selectors] Support :where() pseudo class
Antti Koivisto
Reported
2020-04-18 09:33:10 PDT
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.
Attachments
patch
(12.55 KB, patch)
2020-04-18 09:39 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2020-04-18 09:39:47 PDT
Created
attachment 396852
[details]
patch
EWS
Comment 2
2020-04-18 13:24:35 PDT
Committed
r260319
: <
https://trac.webkit.org/changeset/260319
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 396852
[details]
.
Radar WebKit Bug Importer
Comment 3
2020-04-18 13:25:25 PDT
<
rdar://problem/61981787
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug