WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
265992
[CSS] Mark selector as "implicit" to remove them from specificity calculation
https://bugs.webkit.org/show_bug.cgi?id=265992
Summary
[CSS] Mark selector as "implicit" to remove them from specificity calculation
Matthieu Dubet
Reported
2023-12-07 03:35:24 PST
In several cases, relative selector have an implicit selector in front of them (such as :has(> foo) or nested or scoped selectors). We should have a new boolean flag to allow identifying those fake/implicit selectors and avoid counting them in the specificity calculation.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-12-07 03:35:40 PST
<
rdar://problem/119307433
>
Matthieu Dubet
Comment 2
2023-12-07 03:41:41 PST
Pull request:
https://github.com/WebKit/WebKit/pull/21434
EWS
Comment 3
2023-12-07 08:37:14 PST
Committed
271675@main
(dedf708653ff): <
https://commits.webkit.org/271675@main
> Reviewed commits have been landed. Closing PR #21434 and removing active labels.
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