WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
211108
Web Inspector: Use standardized `:is` CSS selector instead of `:matches`
https://bugs.webkit.org/show_bug.cgi?id=211108
Summary
Web Inspector: Use standardized `:is` CSS selector instead of `:matches`
Nikita Vasilyev
Reported
2020-04-27 17:31:26 PDT
CSS Selectors Level 4 defines `:is` selector.
https://www.w3.org/TR/selectors-4/#matches
`:matches` is a deprecated alias for it.
https://github.com/w3c/csswg-drafts/issues/3258
This is refactoring; it should have no user effects.
Attachments
Patch
(109.81 KB, patch)
2020-04-27 17:41 PDT
,
Nikita Vasilyev
hi
: review-
hi
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Nikita Vasilyev
Comment 1
2020-04-27 17:41:05 PDT
Created
attachment 397772
[details]
Patch
Devin Rousso
Comment 2
2020-04-28 12:09:17 PDT
Comment on
attachment 397772
[details]
Patch r-, as since `:matches` is allowed as an obsolete alias for `:is` there's no need to remove it. We should just prefer using `:is` going forward, and change previous uses as we come across them (same as how we treat usage of `var`).
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