Bug 264943

Summary: [css-scoping] Support scope proximity in the cascade
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   
Bug Depends on:    
Bug Blocks: 229520    

Matthieu Dubet
Reported 2023-11-16 06:15:17 PST
The cascade prioritizes declarations with a more proximate scoping root, regardless of specificity or source order by applying scope proximity between the scoping root and the subject of each scoped style rule. https://drafts.csswg.org/css-cascade-6/#scope-proximity
Attachments
Radar WebKit Bug Importer
Comment 1 2023-11-16 06:16:33 PST
Matthieu Dubet
Comment 2 2023-12-02 00:15:29 PST
EWS
Comment 3 2023-12-05 10:13:22 PST
Committed 271557@main (40cf94b5b6f9): <https://commits.webkit.org/271557@main> Reviewed commits have been landed. Closing PR #21203 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.