LibWeb/CSS: Reject non-grouping-rules as descendants of style rules

For example, `@font-face` is not only invalid inside a style rule, it's
also invalid inside a child of a style rule. This fixes a test
regression that we previously passed by accident.
This commit is contained in:
Sam Atkins 2025-04-03 12:31:26 +01:00
commit e43bb1410c
Notes: github-actions[bot] 2025-04-04 09:41:27 +00:00
2 changed files with 9 additions and 4 deletions

View file

@ -2,6 +2,7 @@ Harness status: OK
Found 2 tests
2 Fail
Fail Simple CSSOM manipulation of subrules
1 Pass
1 Fail
Pass Simple CSSOM manipulation of subrules
Fail Simple CSSOM manipulation of subrules 1