mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Add & when setting nested style rule's selector text
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. :^)
This commit is contained in:
committed by
Andreas Kling
parent
3e0c182344
commit
a0403ac427
Notes:
github-actions[bot]
2024-11-09 13:30:38 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/a0403ac4277 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2240
@@ -6,6 +6,6 @@ Rerun
|
||||
|
||||
Found 1 tests
|
||||
|
||||
1 Fail
|
||||
1 Pass
|
||||
Details
|
||||
Result Test Name MessageFail Nested rule responds to parent selector text change
|
||||
Result Test Name MessagePass Nested rule responds to parent selector text change
|
||||
Reference in New Issue
Block a user