Bug 265992
Summary: | [CSS] Mark selector as "implicit" to remove them from specificity calculation | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matthieu Dubet <m_dubet> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Matthieu Dubet
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
<rdar://problem/119307433>
Matthieu Dubet
Pull request: https://github.com/WebKit/WebKit/pull/21434
EWS
Committed 271675@main (dedf708653ff): <https://commits.webkit.org/271675@main>
Reviewed commits have been landed. Closing PR #21434 and removing active labels.