mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibWeb/CSS: Implement cascade layers (aka @layer
)
This is done quite simply for now, there are certainly optimizations that can and should be made later. With this we now pass: - http://wpt.live/css/css-cascade/layer-basic.html - http://wpt.live/css/css-cascade/layer-important.html - http://wpt.live/css/css-cascade/layer-statement-copy-crash.html - http://wpt.live/css/css-cascade/layer-stylesheet-sharing-important.html - http://wpt.live/css/css-cascade/layer-stylesheet-sharing.html - http://wpt.live/css/css-cascade/layer-vs-inline-style.html
This commit is contained in:
parent
cbb4be3e5e
commit
a50da405e9
Notes:
github-actions[bot]
2024-09-06 05:50:49 +00:00
Author: https://github.com/AtkinsSJ
Commit: a50da405e9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1291
6 changed files with 799 additions and 12 deletions
86
Tests/LibWeb/Text/expected/css/layer-rule.txt
Normal file
86
Tests/LibWeb/Text/expected/css/layer-rule.txt
Normal file
|
@ -0,0 +1,86 @@
|
|||
PASS: A1 Anonymous layers (first target)
|
||||
PASS: A1 Anonymous layers (second target)
|
||||
PASS: A2 Anonymous layers (first target)
|
||||
PASS: A2 Anonymous layers (second target)
|
||||
PASS: A3 Anonymous layers (first target)
|
||||
PASS: A3 Anonymous layers (second target)
|
||||
PASS: A4 Anonymous layers (first target)
|
||||
PASS: A4 Anonymous layers (second target)
|
||||
PASS: A5 Anonymous layers (first target)
|
||||
PASS: A5 Anonymous layers (second target)
|
||||
PASS: A6 Anonymous layers (first target)
|
||||
PASS: A6 Anonymous layers (second target)
|
||||
PASS: A7 Anonymous layers (first target)
|
||||
PASS: A7 Anonymous layers (second target)
|
||||
PASS: A8 Anonymous layers (first target)
|
||||
PASS: A8 Anonymous layers (second target)
|
||||
PASS: A9 Anonymous layers (first target)
|
||||
PASS: A9 Anonymous layers (second target)
|
||||
PASS: B1 Named layers (first target)
|
||||
PASS: B1 Named layers (second target)
|
||||
PASS: B2 Named layers (first target)
|
||||
PASS: B2 Named layers (second target)
|
||||
PASS: B3 Named layers (first target)
|
||||
PASS: B3 Named layers (second target)
|
||||
PASS: B4 Named layers (first target)
|
||||
PASS: B4 Named layers (second target)
|
||||
PASS: B5 Named layers (first target)
|
||||
PASS: B5 Named layers (second target)
|
||||
PASS: B6 Named layers (first target)
|
||||
PASS: B6 Named layers (second target)
|
||||
PASS: B7 Named layers (first target)
|
||||
PASS: B7 Named layers (second target)
|
||||
PASS: B8 Named layers (first target)
|
||||
PASS: B8 Named layers (second target)
|
||||
PASS: B9 Named layers (first target)
|
||||
PASS: B9 Named layers (second target)
|
||||
PASS: B10 Named layers (first target)
|
||||
PASS: B10 Named layers (second target)
|
||||
PASS: C1 Named layers shorthand (first target)
|
||||
PASS: C1 Named layers shorthand (second target)
|
||||
PASS: C2 Named layers shorthand (first target)
|
||||
PASS: C2 Named layers shorthand (second target)
|
||||
PASS: C3 Named layers shorthand (first target)
|
||||
PASS: C3 Named layers shorthand (second target)
|
||||
PASS: C4 Named layers shorthand (first target)
|
||||
PASS: C4 Named layers shorthand (second target)
|
||||
PASS: C5 Named layers shorthand (first target)
|
||||
PASS: C5 Named layers shorthand (second target)
|
||||
PASS: D1 Mixed named and anonymous layers (first target)
|
||||
PASS: D1 Mixed named and anonymous layers (second target)
|
||||
PASS: D2 Mixed named and anonymous layers (first target)
|
||||
PASS: D2 Mixed named and anonymous layers (second target)
|
||||
PASS: D3 Mixed named and anonymous layers (first target)
|
||||
PASS: D3 Mixed named and anonymous layers (second target)
|
||||
PASS: D4 Mixed named and anonymous layers (first target)
|
||||
PASS: D4 Mixed named and anonymous layers (second target)
|
||||
PASS: D5 Mixed named and anonymous layers (first target)
|
||||
PASS: D5 Mixed named and anonymous layers (second target)
|
||||
PASS: E1 Statement syntax (first target)
|
||||
PASS: E1 Statement syntax (second target)
|
||||
PASS: E2 Statement syntax (first target)
|
||||
PASS: E2 Statement syntax (second target)
|
||||
PASS: E3 Statement syntax (first target)
|
||||
PASS: E3 Statement syntax (second target)
|
||||
PASS: E4 Statement syntax (first target)
|
||||
PASS: E4 Statement syntax (second target)
|
||||
PASS: E5 Statement syntax (first target)
|
||||
PASS: E5 Statement syntax (second target)
|
||||
PASS: I.A1 Unlayered !important style (first target)
|
||||
PASS: I.A1 Unlayered !important style (second target)
|
||||
PASS: I.B1 Same specificity, layered !important first (first target)
|
||||
PASS: I.B1 Same specificity, layered !important first (second target)
|
||||
PASS: I.C1 Same specificity, layered !important second (first target)
|
||||
PASS: I.C1 Same specificity, layered !important second (second target)
|
||||
PASS: I.D1 Same specificity, all !important (first target)
|
||||
PASS: I.D1 Same specificity, all !important (second target)
|
||||
PASS: I.D2 Same specificity, all !important (first target)
|
||||
PASS: I.D2 Same specificity, all !important (second target)
|
||||
PASS: I.D3 Same specificity, all !important (first target)
|
||||
PASS: I.D3 Same specificity, all !important (second target)
|
||||
PASS: I.D4 Same specificity, all !important (first target)
|
||||
PASS: I.D4 Same specificity, all !important (second target)
|
||||
PASS: I.E1 Different specificity, all !important (first target)
|
||||
PASS: I.E1 Different specificity, all !important (second target)
|
||||
PASS: I.E2 Different specificity, all !important (first target)
|
||||
PASS: I.E2 Different specificity, all !important (second target)
|
Loading…
Add table
Add a link
Reference in a new issue