mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 20:42:11 +02:00
LibWeb: Parse and serialize @counter-style rule
We don't yet parse or serialize any of the descriptors in the rule, just the rule itself and the name
This commit is contained in:
Notes:
github-actions[bot]
2026-02-06 10:38:18 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/703259a24c8 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7708 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -2,14 +2,13 @@ Harness status: OK
|
||||
|
||||
Found 17 tests
|
||||
|
||||
11 Pass
|
||||
6 Fail
|
||||
Fail @counter-style name foo is valid
|
||||
Fail @counter-style name decimal-leading-zero is valid
|
||||
Fail @counter-style name lower-alpha is valid
|
||||
Fail @counter-style name cjk-decimal is valid
|
||||
Fail @counter-style name japanese-informal is valid
|
||||
Fail @counter-style name ethiopic-numeric is valid
|
||||
17 Pass
|
||||
Pass @counter-style name foo is valid
|
||||
Pass @counter-style name decimal-leading-zero is valid
|
||||
Pass @counter-style name lower-alpha is valid
|
||||
Pass @counter-style name cjk-decimal is valid
|
||||
Pass @counter-style name japanese-informal is valid
|
||||
Pass @counter-style name ethiopic-numeric is valid
|
||||
Pass @counter-style name is invalid
|
||||
Pass @counter-style name none is invalid
|
||||
Pass @counter-style name initial is invalid
|
||||
|
||||
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 37 tests
|
||||
|
||||
10 Pass
|
||||
27 Fail
|
||||
17 Pass
|
||||
20 Fail
|
||||
Pass idl_test setup
|
||||
Pass idl_test validation
|
||||
Pass Partial interface CSSRule: original interface defined
|
||||
@@ -14,7 +14,7 @@ Pass CSSCounterStyleRule interface object name
|
||||
Pass CSSCounterStyleRule interface: existence and properties of interface prototype object
|
||||
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
|
||||
Fail CSSCounterStyleRule interface: attribute name
|
||||
Pass CSSCounterStyleRule interface: attribute name
|
||||
Fail CSSCounterStyleRule interface: attribute system
|
||||
Fail CSSCounterStyleRule interface: attribute symbols
|
||||
Fail CSSCounterStyleRule interface: attribute additiveSymbols
|
||||
@@ -25,9 +25,9 @@ Fail CSSCounterStyleRule interface: attribute range
|
||||
Fail CSSCounterStyleRule interface: attribute pad
|
||||
Fail CSSCounterStyleRule interface: attribute speakAs
|
||||
Fail CSSCounterStyleRule interface: attribute fallback
|
||||
Fail CSSCounterStyleRule must be primary interface of counter
|
||||
Fail Stringification of counter
|
||||
Fail CSSCounterStyleRule interface: counter must inherit property "name" with the proper type
|
||||
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
|
||||
Fail CSSCounterStyleRule interface: counter must inherit property "symbols" with the proper type
|
||||
Fail CSSCounterStyleRule interface: counter must inherit property "additiveSymbols" with the proper type
|
||||
@@ -38,6 +38,6 @@ Fail CSSCounterStyleRule interface: counter must inherit property "range" with t
|
||||
Fail 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
|
||||
Fail CSSRule interface: counter must inherit property "COUNTER_STYLE_RULE" with the proper type
|
||||
Fail CSSRule interface: constant COUNTER_STYLE_RULE on interface object
|
||||
Fail CSSRule interface: constant COUNTER_STYLE_RULE on interface prototype object
|
||||
Pass CSSRule interface: counter must inherit property "COUNTER_STYLE_RULE" with the proper type
|
||||
Pass CSSRule interface: constant COUNTER_STYLE_RULE on interface object
|
||||
Pass CSSRule interface: constant COUNTER_STYLE_RULE on interface prototype object
|
||||
Reference in New Issue
Block a user