Bug 231725

Summary: [CSS Cascade Layers] Layer should have higher priority than its descendant layers
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: clopez, ews-watchlist, simon.fraser, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 220779    
Attachments:
Description Flags
Patch
none
Patch none

Description Antti Koivisto 2021-10-14 00:24:47 PDT
The spec was updated in https://github.com/w3c/csswg-drafts/commit/a6fc16e1b65868c6f984918cc76ad9b238e7139e

"Cascade layers are sorted by the order in which they first are declared, with nested layers grouped within their parent layers before any unlayered rules."
Comment 1 Antti Koivisto 2021-10-14 01:01:33 PDT
Created attachment 441189 [details]
Patch
Comment 2 EWS Watchlist 2021-10-14 01:02:37 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 3 Antti Koivisto 2021-10-14 01:18:46 PDT
Created attachment 441191 [details]
Patch
Comment 4 EWS 2021-10-14 11:37:50 PDT
Committed r284182 (242999@main): <https://commits.webkit.org/242999@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 441191 [details].
Comment 5 Radar WebKit Bug Importer 2021-10-14 11:38:23 PDT
<rdar://problem/84266462>