mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb/CSS: Parse nested declarations in insert_a_css_rule()
The spec algorithm changed at some point to support nested declarations, but I only just noticed. The subtest regression is one we were passing incorrectly.
This commit is contained in:
Notes:
github-actions[bot]
2025-04-23 10:40:15 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/3d1665cc809 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4354
@@ -2,17 +2,17 @@ Harness status: OK
|
||||
|
||||
Found 12 tests
|
||||
|
||||
6 Pass
|
||||
6 Fail
|
||||
7 Pass
|
||||
5 Fail
|
||||
Fail Trailing declarations
|
||||
Fail Mixed declarations
|
||||
Fail CSSNestedDeclarations.style
|
||||
Pass Nested group rule
|
||||
Pass Nested @scope rule
|
||||
Fail Inner rule starting with an ident
|
||||
Fail Inserting a CSSNestedDeclaration rule into style rule
|
||||
Fail Inserting a CSSNestedDeclaration rule into nested group rule
|
||||
Pass Attempting to insert a CSSNestedDeclaration rule into top-level @media rule
|
||||
Pass Inserting a CSSNestedDeclaration rule into style rule
|
||||
Pass Inserting a CSSNestedDeclaration rule into nested group rule
|
||||
Fail Attempting to insert a CSSNestedDeclaration rule into top-level @media rule
|
||||
Pass Attempting to insert a CSSNestedDeclaration rule into a stylesheet
|
||||
Pass Attempting to insert a CSSNestedDeclaration rule, empty block
|
||||
Pass Attempting to insert a CSSNestedDeclaration rule, all invalid declarations
|
||||
Reference in New Issue
Block a user