Bug 231725 - [CSS Cascade Layers] Layer should have higher priority than its descendant layers
Summary: [CSS Cascade Layers] Layer should have higher priority than its descendant la...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
URL:
Keywords: InRadar
Depends on:
Blocks: 220779
  Show dependency treegraph
 
Reported: 2021-10-14 00:24 PDT by Antti Koivisto
Modified: 2021-10-14 11:38 PDT (History)
5 users (show)

See Also:


Attachments
Patch (19.63 KB, patch)
2021-10-14 01:01 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
Patch (19.63 KB, patch)
2021-10-14 01:18 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>