mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
When we first parse a nested CSSStyleRule's selectors, we treat them as relative selectors and then patch them up with an `&` as needed. However, we weren't doing this when assigning the `cssText` attribute. So, let's do that! This gives us a couple of subtest passes. :^)
22 lines
840 B
Plaintext
22 lines
840 B
Plaintext
Summary
|
|
|
|
Harness status: OK
|
|
|
|
Rerun
|
|
|
|
Found 11 tests
|
|
|
|
1 Pass
|
|
10 Fail
|
|
Details
|
|
Result Test Name MessageFail Trailing declarations apply after any preceding rules
|
|
Fail Trailing declarations apply after any preceding rules (no leading)
|
|
Fail Trailing declarations apply after any preceding rules (multiple)
|
|
Fail Nested declarations rule has same specificity as outer selector
|
|
Fail Nested declarations rule has top-level specificity behavior
|
|
Fail Nested declarations rule has top-level specificity behavior (max matching)
|
|
Fail Bare declartaion in nested grouping rule can match pseudo-element
|
|
Fail Nested group rules have top-level specificity behavior
|
|
Fail Nested @scope rules behave like :where(:scope)
|
|
Fail Nested @scope rules behave like :where(:scope) (trailing)
|
|
Pass Nested declarations rule responds to parent selector text change |