mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb: Allow anonymous layer block rule with no declarations
This commit is contained in:
committed by
Sam Atkins
parent
30cdacc05a
commit
701fcb9e87
Notes:
github-actions[bot]
2025-06-17 07:59:15 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/701fcb9e87b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5111 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -0,0 +1,21 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
11 Pass
|
||||
Pass @layer A; should be a valid rule
|
||||
Pass @layer A, B, C; should be a valid rule
|
||||
Pass @layer A.A; should be a valid rule
|
||||
Pass @layer A, B.C.D, C; should be a valid rule
|
||||
Pass @layer; should be an invalid rule
|
||||
Pass @layer A . A; should be an invalid rule
|
||||
Pass @layer {
|
||||
} should be a valid rule
|
||||
Pass @layer A {
|
||||
} should be a valid rule
|
||||
Pass @layer A.B {
|
||||
} should be a valid rule
|
||||
Pass @layer A . B {
|
||||
} should be an invalid rule
|
||||
Pass @layer A, B, C {
|
||||
} should be an invalid rule
|
||||
Reference in New Issue
Block a user