mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 08:18:55 +00:00
LibWeb/CSS: Use CSSRule's context to parse new child rules
Keep track of which CSSRule owns a CSSRuleList, and then use that to produce a stack of RuleContexts for the CSS Parser to use. There are certainly other places we should do this!
This commit is contained in:
parent
763b1b0ee2
commit
658569b533
Notes:
github-actions[bot]
2025-04-23 10:39:55 +00:00
Author: https://github.com/AtkinsSJ
Commit: 658569b533
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4354
7 changed files with 32 additions and 15 deletions
|
@ -2,8 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 12 tests
|
||||
|
||||
7 Pass
|
||||
5 Fail
|
||||
8 Pass
|
||||
4 Fail
|
||||
Fail Trailing declarations
|
||||
Fail Mixed declarations
|
||||
Fail CSSNestedDeclarations.style
|
||||
|
@ -12,7 +12,7 @@ Pass Nested @scope rule
|
|||
Fail Inner rule starting with an ident
|
||||
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 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
|
Loading…
Add table
Add a link
Reference in a new issue