LibWeb: Parse @counter-style system descriptor

This commit is contained in:
Callum Law
2026-01-31 21:09:11 +13:00
committed by Sam Atkins
parent 703259a24c
commit f60bfd9e9e
Notes: github-actions[bot] 2026-02-06 10:38:11 +00:00
17 changed files with 270 additions and 25 deletions

View File

@@ -2,17 +2,16 @@ Harness status: OK
Found 15 tests
6 Pass
9 Fail
Fail @counter-style 'system: cyclic' is valid
Fail @counter-style 'system: fixed' is valid
Fail @counter-style 'system: fixed 100' is valid
Fail @counter-style 'system: fixed -1' is valid
Fail @counter-style 'system: symbolic' is valid
Fail @counter-style 'system: alphabetic' is valid
Fail @counter-style 'system: numeric' is valid
Fail @counter-style 'system: additive' is valid
Fail @counter-style 'system: extends bar' is valid
15 Pass
Pass @counter-style 'system: cyclic' is valid
Pass @counter-style 'system: fixed' is valid
Pass @counter-style 'system: fixed 100' is valid
Pass @counter-style 'system: fixed -1' is valid
Pass @counter-style 'system: symbolic' is valid
Pass @counter-style 'system: alphabetic' is valid
Pass @counter-style 'system: numeric' is valid
Pass @counter-style 'system: additive' is valid
Pass @counter-style 'system: extends bar' is valid
Pass @counter-style 'system: float' is invalid
Pass @counter-style 'system: cyclic cyclic' is invalid
Pass @counter-style 'system: extends none' is invalid

View File

@@ -2,8 +2,8 @@ Harness status: OK
Found 37 tests
17 Pass
20 Fail
19 Pass
18 Fail
Pass idl_test setup
Pass idl_test validation
Pass Partial interface CSSRule: original interface defined
@@ -15,7 +15,7 @@ Pass CSSCounterStyleRule interface: existence and properties of interface protot
Pass CSSCounterStyleRule interface: existence and properties of interface prototype object's "constructor" property
Pass CSSCounterStyleRule interface: existence and properties of interface prototype object's @@unscopables property
Pass CSSCounterStyleRule interface: attribute name
Fail CSSCounterStyleRule interface: attribute system
Pass CSSCounterStyleRule interface: attribute system
Fail CSSCounterStyleRule interface: attribute symbols
Fail CSSCounterStyleRule interface: attribute additiveSymbols
Fail CSSCounterStyleRule interface: attribute negative
@@ -28,7 +28,7 @@ Fail CSSCounterStyleRule interface: attribute fallback
Pass CSSCounterStyleRule must be primary interface of counter
Pass Stringification of counter
Pass CSSCounterStyleRule interface: counter must inherit property "name" with the proper type
Fail CSSCounterStyleRule interface: counter must inherit property "system" with the proper type
Pass CSSCounterStyleRule interface: counter must inherit property "system" with the proper type
Fail CSSCounterStyleRule interface: counter must inherit property "symbols" with the proper type
Fail CSSCounterStyleRule interface: counter must inherit property "additiveSymbols" with the proper type
Fail CSSCounterStyleRule interface: counter must inherit property "negative" with the proper type