mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibWeb/CSS: Assign layers to @import statements
Specifically, we create and assign a layer if its import conditions currently apply. With this change, every case in the `layer-import.html` test actually functions correctly, apart from our lack of proper `load` event support. (Tested by hacking in a 100ms wait after the `await Promise()` statement.)
This commit is contained in:
Notes:
github-actions[bot]
2025-12-08 13:31:59 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/c19139f1c75 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7021
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 24 tests
|
||||
|
||||
8 Pass
|
||||
16 Fail
|
||||
10 Pass
|
||||
14 Fail
|
||||
Fail A1 Layer rules with import
|
||||
Pass A2 Layer rules with import
|
||||
Fail A3 Layer rules with import
|
||||
@@ -17,7 +17,7 @@ Fail C2 Named imports
|
||||
Pass C3 Named imports
|
||||
Pass C4 Named imports
|
||||
Pass C5 Named imports
|
||||
Fail C6 Named imports
|
||||
Pass C6 Named imports
|
||||
Fail C7 Named imports
|
||||
Fail C8 Named imports
|
||||
Fail C9 Named imports
|
||||
@@ -27,4 +27,4 @@ Fail D3 Layer statement with imports
|
||||
Fail D4 Layer statement with imports
|
||||
Fail D5 Layer statement with imports
|
||||
Pass D6 Layer statement with imports
|
||||
Fail E1 Named imports establish layer even with network errors
|
||||
Pass E1 Named imports establish layer even with network errors
|
||||
Reference in New Issue
Block a user