Enable more css tests (#31469)

* Enable more css tests

In particular, these directories are no longer skipped:
 - CSS1 (has no tests)
 - css-box (except margin-trim)
 - css-cascade
 - css-display (except run-in)
 - css-easing
 - css-env
 - css-lists
 - css-namespaces
 - css-overflow
 - css-pseudo
 - css-sizing (except aspect-ratio and contain-intrinsic-size)
 - css-syntax
 - reference
 - support (has no tests)

* Sort list properly

* Explicitly list skipped directories

* Do not skip css tests by default

* Add expectations
This commit is contained in:
Oriol Brufau 2024-03-01 08:49:39 +01:00 committed by GitHub
parent 0beec63c86
commit 2b1d342102
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1357 changed files with 17727 additions and 66 deletions

View file

@ -0,0 +1,18 @@
[content-invalid.html]
[e.style['content'\] = "counter(foo, none)" should not set the property value]
expected: FAIL
[e.style['content'\] = "counters(foo, \\"\\", none)" should not set the property value]
expected: FAIL
[e.style['content'\] = "\\"z\\" counter(foo, none)" should not set the property value]
expected: FAIL
[e.style['content'\] = "\\"z\\" counters(foo, \\"\\", none)" should not set the property value]
expected: FAIL
[e.style['content'\] = "counter(foo, none) \\"z\\"" should not set the property value]
expected: FAIL
[e.style['content'\] = "counters(foo, \\"\\", none) \\"z\\"" should not set the property value]
expected: FAIL

View file

@ -0,0 +1,12 @@
[counter-increment-valid.html]
[e.style['counter-increment'\] = "none" should set the property value]
expected: FAIL
[e.style['counter-increment'\] = "chapter" should set the property value]
expected: FAIL
[e.style['counter-increment'\] = "section -1" should set the property value]
expected: FAIL
[e.style['counter-increment'\] = "first -1 second third 99" should set the property value]
expected: FAIL

View file

@ -0,0 +1,30 @@
[counter-reset-valid.html]
[e.style['counter-reset'\] = "none" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "chapter" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "chapter chapter 9" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "reversed(chapter)" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "chapter reversed(chapter)" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "reversed(chapter) 9 chapter" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "section -1" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "reversed(section) -1" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "first -1 second third 99" should set the property value]
expected: FAIL
[e.style['counter-reset'\] = "reversed(first) -1 reversed(second) third 99" should set the property value]
expected: FAIL

View file

@ -0,0 +1,18 @@
[counter-set-computed.html]
[Property counter-set value 'none']
expected: FAIL
[Property counter-set value 'myCounter']
expected: FAIL
[Property counter-set value 'myCounter 5']
expected: FAIL
[Property counter-set value 'myCounter 7 otherCounter 8']
expected: FAIL
[Property counter-set value 'myCounter otherCounter 8']
expected: FAIL
[Property counter-set value 'myCounter 7 otherCounter']
expected: FAIL

View file

@ -0,0 +1,12 @@
[counter-set-valid.html]
[e.style['counter-set'\] = "none" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "chapter" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "section -1" should set the property value]
expected: FAIL
[e.style['counter-set'\] = "first -1 second third 99" should set the property value]
expected: FAIL

View file

@ -0,0 +1,6 @@
[list-style-computed.sub.html]
[Property list-style value 'inside none disc']
expected: FAIL
[Property list-style value 'inside url("https://web-platform.test/") square']
expected: FAIL

View file

@ -0,0 +1,6 @@
[list-style-position-computed.html]
[Property list-style-position value 'inside']
expected: FAIL
[Property list-style-position value 'outside']
expected: FAIL

View file

@ -0,0 +1,6 @@
[list-style-position-valid.html]
[e.style['list-style-position'\] = "inside" should set the property value]
expected: FAIL
[e.style['list-style-position'\] = "outside" should set the property value]
expected: FAIL

View file

@ -0,0 +1,3 @@
[list-style-shorthand.sub.html]
[e.style['list-style'\] = "square url(\\"https://web-platform.test/\\") inside" should set list-style-position]
expected: FAIL

View file

@ -0,0 +1,51 @@
[list-style-type-computed.html]
[Property list-style-type value 'decimal-leading-zero']
expected: FAIL
[Property list-style-type value 'lower-roman']
expected: FAIL
[Property list-style-type value 'upper-roman']
expected: FAIL
[Property list-style-type value 'lower-latin']
expected: FAIL
[Property list-style-type value 'upper-latin']
expected: FAIL
[Property list-style-type value 'armenian']
expected: FAIL
[Property list-style-type value 'georgian']
expected: FAIL
[Property list-style-type value '"marker string"']
expected: FAIL
[Property list-style-type value '"Note: "']
expected: FAIL
[Property list-style-type value 'counter-Style-Name']
expected: FAIL
[Property list-style-type value 'CounterStyleName']
expected: FAIL
[Property list-style-type value 'symbols(cyclic "string")']
expected: FAIL
[Property list-style-type value 'symbols(cyclic "○" "●")']
expected: FAIL
[Property list-style-type value 'symbols(fixed "1")']
expected: FAIL
[Property list-style-type value 'symbols("string")']
expected: FAIL
[Property list-style-type value 'symbols(alphabetic "first" "second")']
expected: FAIL
[Property list-style-type value 'symbols(numeric "first" "second")']
expected: FAIL

View file

@ -0,0 +1,51 @@
[list-style-type-valid.html]
[e.style['list-style-type'\] = "decimal-leading-zero" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "lower-roman" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "upper-roman" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "lower-latin" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "upper-latin" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "armenian" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "georgian" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "\\"marker string\\"" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "\\"Note: \\"" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "counter-Style-Name" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "CounterStyleName" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "symbols(cyclic \\"string\\")" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "symbols(cyclic \\"○\\" \\"●\\")" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "symbols(fixed \\"1\\")" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "symbols(symbolic \\"string\\")" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "symbols(alphabetic \\"first\\" \\"second\\")" should set the property value]
expected: FAIL
[e.style['list-style-type'\] = "symbols(numeric \\"first\\" \\"second\\")" should set the property value]
expected: FAIL

View file

@ -0,0 +1,33 @@
[list-style-valid.html]
[e.style['list-style'\] = "disc outside none" should set the property value]
expected: FAIL
[e.style['list-style'\] = "inside" should set the property value]
expected: FAIL
[e.style['list-style'\] = "inside disc" should set the property value]
expected: FAIL
[e.style['list-style'\] = "inside none" should set the property value]
expected: FAIL
[e.style['list-style'\] = "inside none none" should set the property value]
expected: FAIL
[e.style['list-style'\] = "none inside none" should set the property value]
expected: FAIL
[e.style['list-style'\] = "none none inside" should set the property value]
expected: FAIL
[e.style['list-style'\] = "none inside" should set the property value]
expected: FAIL
[e.style['list-style'\] = "square url(\\"https://example.com/\\") inside" should set the property value]
expected: FAIL
[e.style['list-style'\] = "square linear-gradient(red,blue) inside" should set the property value]
expected: FAIL
[e.style['list-style'\] = "disc radial-gradient(circle, #006, #00a 90%, #0000af 100%,white 100%) inside" should set the property value]
expected: FAIL