LibWeb: Parse @counter-style pad descriptor

This commit is contained in:
Callum Law
2026-01-31 22:04:08 +13:00
committed by Sam Atkins
parent afca221d47
commit 9b376240f9
Notes: github-actions[bot] 2026-02-06 10:37:44 +00:00
11 changed files with 103 additions and 16 deletions

View File

@@ -2,13 +2,12 @@ Harness status: OK
Found 9 tests
6 Pass
3 Fail
9 Pass
Pass @counter-style 'pad: 10' is invalid
Pass @counter-style 'pad: "X"' is invalid
Fail @counter-style 'pad: 0 "X"' is valid
Fail @counter-style 'pad: 10 "X"' is valid
Fail @counter-style 'pad: "X" 10' is valid
Pass @counter-style 'pad: 0 "X"' is valid
Pass @counter-style 'pad: 10 "X"' is valid
Pass @counter-style 'pad: "X" 10' is valid
Pass @counter-style 'pad: -1 "X"' is invalid
Pass @counter-style 'pad: "X" -1' is invalid
Pass @counter-style 'pad: 10 "X" "Y"' is invalid

View File

@@ -2,8 +2,8 @@ Harness status: OK
Found 37 tests
27 Pass
10 Fail
29 Pass
8 Fail
Pass idl_test setup
Pass idl_test validation
Pass Partial interface CSSRule: original interface defined
@@ -22,7 +22,7 @@ Pass CSSCounterStyleRule interface: attribute negative
Pass CSSCounterStyleRule interface: attribute prefix
Pass CSSCounterStyleRule interface: attribute suffix
Pass CSSCounterStyleRule interface: attribute range
Fail CSSCounterStyleRule interface: attribute pad
Pass CSSCounterStyleRule interface: attribute pad
Fail CSSCounterStyleRule interface: attribute speakAs
Fail CSSCounterStyleRule interface: attribute fallback
Pass CSSCounterStyleRule must be primary interface of counter
@@ -35,7 +35,7 @@ Pass CSSCounterStyleRule interface: counter must inherit property "negative" wit
Pass CSSCounterStyleRule interface: counter must inherit property "prefix" with the proper type
Pass CSSCounterStyleRule interface: counter must inherit property "suffix" with the proper type
Pass CSSCounterStyleRule interface: counter must inherit property "range" with the proper type
Fail CSSCounterStyleRule interface: counter must inherit property "pad" with the proper type
Pass CSSCounterStyleRule interface: counter must inherit property "pad" with the proper type
Fail CSSCounterStyleRule interface: counter must inherit property "speakAs" with the proper type
Fail CSSCounterStyleRule interface: counter must inherit property "fallback" with the proper type
Pass CSSRule interface: counter must inherit property "COUNTER_STYLE_RULE" with the proper type