mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
When we try to insert a disallowed (non-nested) statement into a CSSGroupingRule we should throw a `HierarchyRequestError` as it being disallowed is a "constraint specified by CSS". Previously we would rely on `Parser::is_valid_in_the_current_context` and throw a Syntax error. There are more constraints to be implemented.
12 lines
219 B
Plaintext
12 lines
219 B
Plaintext
Harness status: OK
|
|
|
|
Found 7 tests
|
|
|
|
7 Pass
|
|
Pass index before first
|
|
Pass index after final
|
|
Pass index not specified
|
|
Pass index exceeds length
|
|
Pass CSS parsing error
|
|
Pass constraint violation
|
|
Pass disallowed namespace rule |