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,2 @@
[all-prop-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[all-prop-initial-visited.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[all-prop-revert-layer.html]
expected: CRASH

View file

@ -0,0 +1,126 @@
[at-scope-parsing.html]
[@scope (.a) is valid]
expected: FAIL
[@scope (.a + .b) is valid]
expected: FAIL
[@scope (.a:hover) is valid]
expected: FAIL
[@scope (.a:hover, #b, div) is valid]
expected: FAIL
[@scope (:is(div, span)) is valid]
expected: FAIL
[@scope (.a) to (.b) is valid]
expected: FAIL
[@scope (.a)to (.b) is valid]
expected: FAIL
[@scope (.a) to (.b:hover, #c, div) is valid]
expected: FAIL
[@scope is valid]
expected: FAIL
[@scope to (.a) is valid]
expected: FAIL
[@scope (.a) to (&) is valid]
expected: FAIL
[@scope (.a) to (& > &) is valid]
expected: FAIL
[@scope (.a) to (> .b) is valid]
expected: FAIL
[@scope (.a) to (+ .b) is valid]
expected: FAIL
[@scope (.a) to (~ .b) is valid]
expected: FAIL
[@scope () is valid]
expected: FAIL
[@scope to () is valid]
expected: FAIL
[@scope () to () is valid]
expected: FAIL
[@scope (.c <> .d) is valid]
expected: FAIL
[@scope (.a, .c <> .d) is valid]
expected: FAIL
[@scope (.a <> .b, .c) is valid]
expected: FAIL
[@scope (div::before) is valid]
expected: FAIL
[@scope (div::after) is valid]
expected: FAIL
[@scope (slotted(div)) is valid]
expected: FAIL
[@scope (.a) to (div::before) is valid]
expected: FAIL
[@scope (> &) to (>>) is valid]
expected: FAIL
[@scope div is not valid]
expected: FAIL
[@scope (.a) unknown (.c) is not valid]
expected: FAIL
[@scope (.a) to unknown (.c) is not valid]
expected: FAIL
[@scope (.a) 1px (.c) is not valid]
expected: FAIL
[@scope (.a) to unknown(c) is not valid]
expected: FAIL
[@scope unknown(.a) is not valid]
expected: FAIL
[@scope 1px is not valid]
expected: FAIL
[@scope creep is not valid]
expected: FAIL
[@scope ))) is not valid]
expected: FAIL
[@scope ( is not valid]
expected: FAIL
[@scope ( {} is not valid]
expected: FAIL
[@scope to is not valid]
expected: FAIL
[@scope } is not valid]
expected: FAIL
[@scope (.a is not valid]
expected: FAIL
[@scope (.a to (.b) is not valid]
expected: FAIL
[@scope ( to (.b) is not valid]
expected: FAIL

View file

@ -0,0 +1,2 @@
[idlharness.html]
expected: CRASH

View file

@ -0,0 +1,2 @@
[import-conditional-002.html]
expected: FAIL

View file

@ -0,0 +1,48 @@
[import-conditions.html]
[supports(display:block) is a valid import condition]
expected: FAIL
[supports((display:flex)) is a valid import condition]
expected: FAIL
[supports((display:block) and (display:flex)) is a valid import condition]
expected: FAIL
[supports((display:block) or (display:flex)) is a valid import condition]
expected: FAIL
[supports((display:block) or (foo:bar)) is a valid import condition]
expected: FAIL
[supports(display: block !important) is a valid import condition]
expected: FAIL
[supports(display:block) (width >= 0px) is a valid import condition]
expected: FAIL
[supports(selector(a)) is a valid import condition]
expected: FAIL
[supports(selector(p a)) is a valid import condition]
expected: FAIL
[supports(selector(p > a)) is a valid import condition]
expected: FAIL
[supports(selector(p + a)) is a valid import condition]
expected: FAIL
[supports(font-tech(color-COLRv1)) is a valid import condition]
expected: FAIL
[supports(font-format(opentype)) is a valid import condition]
expected: FAIL
[supports(font-format(woff)) is a valid import condition]
expected: FAIL
[layer(A.B) supports(font-format(opentype)) is a valid import condition]
expected: FAIL
[layer supports(selector(a)) is a valid import condition]
expected: FAIL

View file

@ -0,0 +1,2 @@
[important-prop.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[layer-cssom-order-reverse-at-property.html]
expected: CRASH

View file

@ -0,0 +1,2 @@
[layer-cssom-order-reverse.html]
expected: CRASH

View file

@ -0,0 +1,12 @@
[layer-font-face-override.html]
[@font-face unlayered overrides layered]
expected: FAIL
[@font-face override between layers]
expected: FAIL
[@font-face override update with appended sheet 1]
expected: FAIL
[@font-face override update with appended sheet 2]
expected: FAIL

View file

@ -0,0 +1,24 @@
[layer-media-query.html]
[A1 Basic]
expected: FAIL
[A2 Basic]
expected: FAIL
[B1 Basic import]
expected: FAIL
[B2 Basic import]
expected: FAIL
[C1 Reordering]
expected: FAIL
[C2 Reordering]
expected: FAIL
[C3 Reordering]
expected: FAIL
[C4 Reordering]
expected: FAIL

View file

@ -0,0 +1,2 @@
[layer-media-toggle.html]
expected: FAIL

View file

@ -0,0 +1,12 @@
[layer-property-override.html]
[@property unlayered overrides layered]
expected: FAIL
[@property override between layers]
expected: FAIL
[@property override update with appended sheet 1]
expected: FAIL
[@property override update with appended sheet 2]
expected: FAIL

View file

@ -0,0 +1,3 @@
[layer-replaceSync-clears-stale.html]
[replaceSync clears stale layer statements]
expected: FAIL

View file

@ -0,0 +1,27 @@
[layer-rules-cssom.html]
[Basic layer block name]
expected: FAIL
[Anonymous layer block name]
expected: FAIL
[Basic layer statement name]
expected: FAIL
[Layer statement with multiple names]
expected: FAIL
[Nested layer block names]
expected: FAIL
[Nested layer statement name lists]
expected: FAIL
[Import into anonymous layer]
expected: FAIL
[Import into named layer]
expected: FAIL
[Import without layer]
expected: FAIL

View file

@ -0,0 +1,2 @@
[layer-slotted-rule.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[layer-statement-before-import.html]
expected: CRASH

View file

@ -0,0 +1,39 @@
[layer-import-parsing.html]
[@import url("nonexist.css") layer; should be a valid layered import rule]
expected: FAIL
[@import url("nonexist.css") layer(A); should be a valid layered import rule]
expected: FAIL
[@import url("nonexist.css") layer(A.B); should be a valid layered import rule]
expected: FAIL
[@import url(nonexist.css) layer; should be a valid layered import rule]
expected: FAIL
[@import url(nonexist.css) layer(A); should be a valid layered import rule]
expected: FAIL
[@import url(nonexist.css) layer(A.B); should be a valid layered import rule]
expected: FAIL
[@import "nonexist.css" layer; should be a valid layered import rule]
expected: FAIL
[@import "nonexist.css" layer(A); should be a valid layered import rule]
expected: FAIL
[@import "nonexist.css" layer(A.B); should be a valid layered import rule]
expected: FAIL
[@import url("nonexist.css") layer(); should still be a valid import rule with an invalid layer declaration]
expected: FAIL
[@import url("nonexist.css") layer(A B); should still be a valid import rule with an invalid layer declaration]
expected: FAIL
[@import url("nonexist.css") layer(A . B); should still be a valid import rule with an invalid layer declaration]
expected: FAIL
[@import url("nonexist.css") layer(A, B, C); should still be a valid import rule with an invalid layer declaration]
expected: FAIL

View file

@ -0,0 +1,2 @@
[layer.html]
expected: CRASH

View file

@ -0,0 +1,48 @@
[presentational-hints-rollback.html]
[#tests > * 1]
expected: FAIL
[#tests > * 2]
expected: FAIL
[#tests > * 3]
expected: FAIL
[#tests > * 4]
expected: FAIL
[#tests > * 5]
expected: FAIL
[#tests > * 6]
expected: FAIL
[#tests > * 7]
expected: FAIL
[#tests > * 8]
expected: FAIL
[#tests > * 9]
expected: FAIL
[#tests > * 10]
expected: FAIL
[#tests > * 11]
expected: FAIL
[#tests > * 12]
expected: FAIL
[#tests > * 13]
expected: FAIL
[#tests > * 14]
expected: FAIL
[#tests > * 15]
expected: FAIL
[#tests > * 16]
expected: FAIL

View file

@ -0,0 +1,2 @@
[revert-layer-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[revert-layer-011.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[revert-layer-013.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[revert-layer-014.html]
expected: FAIL

View file

@ -0,0 +1,3 @@
[revert-val-008.html]
[The revert keyword works in the final frame of a web animation]
expected: FAIL

View file

@ -0,0 +1,3 @@
[revert-val-009.html]
[The revert keyword works in implicit keyframes]
expected: FAIL

View file

@ -0,0 +1,3 @@
[revert-val-010.html]
[The revert works when appearing in setKeyframes]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scope-container.html]
[Style rules within @container are scoped]
expected: FAIL

View file

@ -0,0 +1,39 @@
[scope-cssom.html]
[CSSScopeRule.cssText, implicit scope]
expected: FAIL
[CSSScopeRule.cssText, root only]
expected: FAIL
[CSSScopeRule.cssText, root and limit]
expected: FAIL
[CSSScopeRule.cssText, limit only]
expected: FAIL
[CSSScopeRule.start, implicit scope]
expected: FAIL
[CSSScopeRule.start, root only]
expected: FAIL
[CSSScopeRule.start, root and limit]
expected: FAIL
[CSSScopeRule.start, limit only]
expected: FAIL
[CSSScopeRule.end, implicit scope]
expected: FAIL
[CSSScopeRule.end, root only]
expected: FAIL
[CSSScopeRule.end, root and limit]
expected: FAIL
[CSSScopeRule.end, limit only]
expected: FAIL
[CSSScopeRule is a CSSGroupingRule]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scope-deep.html]
[Deep @scope nesting]
expected: FAIL

View file

@ -0,0 +1,66 @@
[scope-evaluation.html]
[Single scope]
expected: FAIL
[Scope can not match its own root without :scope]
expected: FAIL
[Selecting self with :scope]
expected: FAIL
[Single scope with limit]
expected: FAIL
[Single scope, :scope pseudo in main selector]
expected: FAIL
[Single scope, :scope pseudo in to-selector]
expected: FAIL
[Multiple scopes, :scope pseudo in to-selector]
expected: FAIL
[Inner @scope with :scope in from-selector]
expected: FAIL
[Multiple scopes from same @scope-rule, only one limited]
expected: FAIL
[Multiple scopes from same @scope-rule, both limited]
expected: FAIL
[Nested scopes]
expected: FAIL
[Nested scopes, reverse]
expected: FAIL
[Nested scopes, with to-selector]
expected: FAIL
[:scope selecting itself]
expected: FAIL
[The scoping limit is not in scope]
expected: FAIL
[Simulated inclusive scoping limit]
expected: FAIL
[Scope with no elements]
expected: FAIL
[:scope direct adjacent sibling]
expected: FAIL
[:scope indirect adjacent sibling]
expected: FAIL
[Relative selector inside @scope]
expected: FAIL
[:scope in two different compounds]
expected: FAIL
[Scope root with :has()]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scope-implicit-external.html]
[@scope with external stylesheet]
expected: FAIL

View file

@ -0,0 +1,18 @@
[scope-implicit.html]
[@scope without prelude implicitly scopes to parent of owner node]
expected: FAIL
[:scope can style implicit root]
expected: FAIL
[@scope works with two identical stylesheets]
expected: FAIL
[Implicit @scope with inner relative selector]
expected: FAIL
[Implicit @scope with inner nesting selector]
expected: FAIL
[Implicit @scope with limit]
expected: FAIL

View file

@ -0,0 +1,69 @@
[scope-invalidation.html]
[Element becoming scope root]
expected: FAIL
[Element becoming scope root (selector list)]
expected: FAIL
[Element becoming scope root, with inner :scope rule]
expected: FAIL
[Parent element becoming scope limit]
expected: FAIL
[Parent element becoming scope limit (selector list)]
expected: FAIL
[Subject element becoming scope limit]
expected: FAIL
[Parent element affecting scope limit]
expected: FAIL
[Sibling element affecting scope limit]
expected: FAIL
[Toggling inner/outer scope roots]
expected: FAIL
[Element becoming root, with :scope in subject]
expected: FAIL
[Scope root with :has()]
expected: FAIL
[Scope root with :has(), :scope subject]
expected: FAIL
[Scope root with :has(), :scope both subject and non-subject]
expected: FAIL
[Scope limit with :has()]
expected: FAIL
[Element becoming root, with :scope selected by ~ combinator]
expected: FAIL
[Element becoming root via ~ combinator]
expected: FAIL
[Element becoming root via + combinator]
expected: FAIL
[:not(scope) in subject]
expected: FAIL
[:not(scope) in ancestor]
expected: FAIL
[:not(scope) in limit subject]
expected: FAIL
[:not(scope) in limit ancestor]
expected: FAIL
[:nth-child() in scope root]
expected: FAIL
[:nth-child() in scope limit]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scope-layer.html]
[Style rules within @layer are scoped]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scope-media.html]
[Style rules within @media are scoped]
expected: FAIL

View file

@ -0,0 +1,12 @@
[scope-name-defining-rules.html]
[@keyframes is unaffected by @scope]
expected: FAIL
[@keyframes is unaffected by non-matching @scope]
expected: FAIL
[@property is unaffected by @scope]
expected: FAIL
[@property is unaffected by non-matching @scope]
expected: FAIL

View file

@ -0,0 +1,48 @@
[scope-nesting.html]
[Implicit :scope in <scope-end>]
expected: FAIL
[Relative selectors in <scope-end>]
expected: FAIL
[Nesting-selector in the scope's <stylesheet>]
expected: FAIL
[Nesting-selector within :scope rule]
expected: FAIL
[Nesting-selector within :scope rule (double nested)]
expected: FAIL
[@scope nested within style rule]
expected: FAIL
[Parent pseudo class within scope-start]
expected: FAIL
[Parent pseudo class within scope-end]
expected: FAIL
[Parent pseudo class within body of nested @scope]
expected: FAIL
[Implicit rule within nested @scope ]
expected: FAIL
[Implicit rule within nested @scope (proximity)]
expected: FAIL
[Nested :scope inside an :is]
expected: FAIL
[:scope within nested and scoped rule]
expected: FAIL
[:scope within nested and scoped rule (implied &)]
expected: FAIL
[:scope within nested and scoped rule (relative)]
expected: FAIL
[Scoped nested group rule]
expected: FAIL

View file

@ -0,0 +1,9 @@
[scope-proximity.html]
[Alternating light/dark]
expected: FAIL
[Proximity wins over order of appearance]
expected: FAIL
[Specificity wins over proximity]
expected: FAIL

View file

@ -0,0 +1,18 @@
[scope-shadow.tentative.html]
[@scope can match :host]
expected: FAIL
[@scope can match :host(...)]
expected: FAIL
[:scope matches host via the scoping root]
expected: FAIL
[:scope within :is() matches host via the scoping root]
expected: FAIL
[Implicit @scope as direct child of shadow root]
expected: FAIL
[Implicit @scope in construted stylesheet]
expected: FAIL

View file

@ -0,0 +1,24 @@
[scope-specificity.html]
[@scope (#main) { .b { } }]
expected: FAIL
[@scope (#main) to (.b) { .a { } }]
expected: FAIL
[@scope (#main, .foo, .bar) { #a { } }]
expected: FAIL
[@scope (#main) { div.b { } }]
expected: FAIL
[@scope (#main) { :scope .b { } }]
expected: FAIL
[@scope (#main) { & .b { } }]
expected: FAIL
[@scope (#main) { div .b { } }]
expected: FAIL
[@scope (#main) { @scope (.a) { .b { } } }]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scope-starting-style.html]
[Style rules within @starting-style are scoped]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scope-supports.html]
[Style rules within @supports are scoped]
expected: FAIL

View file

@ -0,0 +1,48 @@
[scope-visited-cssom.html]
[:link as scoped selector]
expected: FAIL
[:visited as scoped selector]
expected: FAIL
[:not(:link) as scoped selector]
expected: FAIL
[:not(:visited) as scoped selector]
expected: FAIL
[:link as scoping root]
expected: FAIL
[:visited as scoping root]
expected: FAIL
[:not(:visited) as scoping root]
expected: FAIL
[:not(:link) as scoping root]
expected: FAIL
[:link as scoping root, :scope]
expected: FAIL
[:visited as scoping root, :scope]
expected: FAIL
[:not(:visited) as scoping root, :scope]
expected: FAIL
[:not(:link) as scoping root, :scope]
expected: FAIL
[:link as scoping limit]
expected: FAIL
[:visited as scoping limit]
expected: FAIL
[:not(:link) as scoping limit]
expected: FAIL
[:not(:visited) as scoping limit]
expected: FAIL

View file

@ -0,0 +1,2 @@
[scope-visited.html]
expected: FAIL