14.54css/css-syntax/
420 / 428 WPT subtests passing
- Failed
- 8
- Timed out
- 0
- Not run
- 0
- Test files
- 49
- Blocking files
- 0
Chrome 422 / 428 WPT subtests passing on the same files, none blocking, 3 without a result
Tests
2 directories, 26 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
charset/ | 20 / 20 | 20 / 20 | 20 | none blocking |
crashtests/ | none reported | — | 3 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
anb-parsing.html 67 / 67 passingChrome 67 / 670 failedClean
67 passing subtests
- "odd" becomes "2n+1"
- "even" becomes "2n"
- "1" becomes "1"
- "+1" becomes "1"
- "-1" becomes "-1"
- "5n" becomes "5n"
- "5N" becomes "5n"
- "+n" becomes "n"
- "n" becomes "n"
- "N" becomes "n"
- "+ n" becomes "parse error"
- "-n" becomes "-n"
- "-N" becomes "-n"
- "5n-5" becomes "5n-5"
- "+n-5" becomes "n-5"
- "n-5" becomes "n-5"
- "+ n-5" becomes "parse error"
- "-n-5" becomes "-n-5"
- "5n +5" becomes "5n+5"
- "5n -5" becomes "5n-5"
- "+n +5" becomes "n+5"
- "n +5" becomes "n+5"
- "+n -5" becomes "n-5"
- "+ n +5" becomes "parse error"
- "n 5" becomes "parse error"
- "-n +5" becomes "-n+5"
- "-n -5" becomes "-n-5"
- "-n 5" becomes "parse error"
- "5n- 5" becomes "5n-5"
- "5n- -5" becomes "parse error"
- "5n- +5" becomes "parse error"
- "-5n- 5" becomes "-5n-5"
- "+n- 5" becomes "n-5"
- "n- 5" becomes "n-5"
- "+ n- 5" becomes "parse error"
- "n- +5" becomes "parse error"
- "n- -5" becomes "parse error"
- "-n- 5" becomes "-n-5"
- "-n- +5" becomes "parse error"
- "-n- -5" becomes "parse error"
- "5n + 5" becomes "5n+5"
- "5n - 5" becomes "5n-5"
- "5n + +5" becomes "parse error"
- "5n + -5" becomes "parse error"
- "5n - +5" becomes "parse error"
- "5n - -5" becomes "parse error"
- "+n + 5" becomes "n+5"
- "n + 5" becomes "n+5"
- "+ n + 5" becomes "parse error"
- "+n - 5" becomes "n-5"
- "+n + +5" becomes "parse error"
- "+n + -5" becomes "parse error"
- "+n - +5" becomes "parse error"
- "+n - -5" becomes "parse error"
- "-n + 5" becomes "-n+5"
- "-n - 5" becomes "-n-5"
- "-n + +5" becomes "parse error"
- "-n + -5" becomes "parse error"
- "-n - +5" becomes "parse error"
- "-n - -5" becomes "parse error"
- "1 - n" becomes "parse error"
- "0 - n" becomes "parse error"
- "-1 + n" becomes "parse error"
- "2 n + 2" becomes "parse error"
- "- 2n" becomes "parse error"
- "+ 2n" becomes "parse error"
- "+2 n" becomes "parse error"
anb-serialization.html 20 / 20 passingChrome 20 / 200 failedClean
20 passing subtests
- "1" becomes "1"
- "+1" becomes "1"
- "-1" becomes "-1"
- "0n + 0" becomes "0"
- "0n + 1" becomes "1"
- "0n - 1" becomes "-1"
- "1n" becomes "n"
- "1n - 0" becomes "n"
- "1n + 1" becomes "n+1"
- "1n - 1" becomes "n-1"
- "-1n" becomes "-n"
- "-1n - 0" becomes "-n"
- "-1n + 1" becomes "-n+1"
- "-1n - 1" becomes "-n-1"
- "+n+1" becomes "n+1"
- "-n-1" becomes "-n-1"
- "n + 0" becomes "n"
- "n - 0" becomes "n"
- "2n + 2" becomes "2n+2"
- "-2n - 2" becomes "-2n-2"
at-rule-in-declaration-list.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Allow @-rule with block inside style rule
- Allow @-rule with semi-colon inside style rule
- Allow @-rule with block inside page rule
- Allow @-rule with semi-colon inside page rule
- Allow @-rule with block inside font-face rule
- Allow @-rule with semi-colon inside font-face rule
cdc-vs-ident-tokens.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- CDC-token is properly emitted, and not parsed as an ident.
charset-is-not-a-rule.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- @charset isn't a valid rule and shouldn't show up in the OM
custom-property-rule-ambiguity.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Rule that looks like a custom property declaration is ignored
- Rule that looks like an invalid custom property declaration is ignored
- Nested rule that looks like a custom property declaration
- Nested rule that looks like an invalid custom property declaration
decimal-points-in-numbers.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- decimal point between digits is valid in a number
- decimal point before digits is valid in a number
- decimal point after digits is invalid in a number
- decimal point between digits is valid in a dimension
- decimal point before digits is valid in a dimension
- decimal point after digits is invalid in a dimension
declarations-trim-whitespace.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- --foo-1:bar;
- --foo-2: bar;
- --foo-3:bar ;
- --foo-4: bar ;
- --foo-5: bar !important;
- --foo-6: bar !important ;
- --foo-7:bar!important;
- --foo-8:bar!important ;
- --foo-9:bar (then ws until end of rule)
escaped-eof.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Escaped EOF turns into a U+FFFD in a hash token, makes it 'ID' type.
- Escaped EOF turns into a U+FFFD in an ident token.
- Escaped EOF turns into a U+FFFD in a dimension token.
- Escaped EOF turns into a U+FFFD in a url token.
- Escaped EOF in a string is ignored.
ident-three-code-points.html 6 / 8 passingChrome 8 / 82 failedWith failures
- ¶
FAILone should be green
assert_equals: expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)"
- ¶
FAILtwo should be green
assert_equals: expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)"
6 passing subtests
- three should be green
- four should be green
- five should be green
- six should be green
- seven should be green
- eight should be green
inclusive-ranges.html 38 / 38 passingChrome 38 / 380 failedClean
38 passing subtests
- "0" becomes "0"
- "1" becomes "1"
- "2" becomes "2"
- "3" becomes "3"
- "4" becomes "4"
- "5" becomes "5"
- "6" becomes "6"
- "7" becomes "7"
- "8" becomes "8"
- "9" becomes "9"
- "foo␁" becomes "parse error"
- "foo␂" becomes "parse error"
- "foo␃" becomes "parse error"
- "foo␄" becomes "parse error"
- "foo␅" becomes "parse error"
- "foo␆" becomes "parse error"
- "foo␇" becomes "parse error"
- "foo␈" becomes "parse error"
- "foo␋" becomes "parse error"
- "foo␎" becomes "parse error"
- "foo␏" becomes "parse error"
- "foo␐" becomes "parse error"
- "foo␑" becomes "parse error"
- "foo␒" becomes "parse error"
- "foo␓" becomes "parse error"
- "foo␔" becomes "parse error"
- "foo␕" becomes "parse error"
- "foo␖" becomes "parse error"
- "foo␗" becomes "parse error"
- "foo␘" becomes "parse error"
- "foo␙" becomes "parse error"
- "foo␚" becomes "parse error"
- "foo␛" becomes "parse error"
- "foo␜" becomes "parse error"
- "foo␝" becomes "parse error"
- "foo␞" becomes "parse error"
- "foo␟" becomes "parse error"
- "foo␡" becomes "parse error"
input-preprocessing.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- "foo␀" becomes "foo�"
- "f␀oo" becomes "f�oo"
- "␀foo" becomes "�foo"
- "␀" becomes "�"
- "␀␀␀" becomes "���"
- "fooU+d800" becomes "foo�"
- "fU+d800oo" becomes "f�oo"
- "U+d800foo" becomes "�foo"
- "U+d800" becomes "�"
- "U+d800U+d800U+d800" becomes "���"
invalid-margin-trim-block-balancing.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check that syntax error in .foo rule does not consume .green rule
invalid-nested-rules.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Continues parsing after block on invalid rule error
invalid-shape-block-balancing.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check that syntax error in .foo rule does not consume .green rule
parse-invalid-input.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- color: red; }
- color: "red
- color: red;'
- color: red; /*
- color: attr(
- color:
- color: /*red
- color:: red
serialize-consecutive-tokens.html 72 / 72 passingChrome 72 / 720 failedClean
72 passing subtests
- Serialization of consecutive foo and bar tokens.
- Serialization of consecutive foo and bar() tokens.
- Serialization of consecutive foo and url(bar) tokens.
- Serialization of consecutive foo and - tokens.
- Serialization of consecutive foo and 123 tokens.
- Serialization of consecutive foo and 123% tokens.
- Serialization of consecutive foo and 123em tokens.
- Serialization of consecutive foo and --> tokens.
- Serialization of consecutive foo and () tokens.
- Serialization of consecutive @foo and bar tokens.
- Serialization of consecutive @foo and bar() tokens.
- Serialization of consecutive @foo and url(bar) tokens.
- Serialization of consecutive @foo and - tokens.
- Serialization of consecutive @foo and 123 tokens.
- Serialization of consecutive @foo and 123% tokens.
- Serialization of consecutive @foo and 123em tokens.
- Serialization of consecutive @foo and --> tokens.
- Serialization of consecutive #foo and bar tokens.
- Serialization of consecutive #foo and bar() tokens.
- Serialization of consecutive #foo and url(bar) tokens.
- Serialization of consecutive #foo and - tokens.
- Serialization of consecutive #foo and 123 tokens.
- Serialization of consecutive #foo and 123% tokens.
- Serialization of consecutive #foo and 123em tokens.
- Serialization of consecutive #foo and --> tokens.
- Serialization of consecutive 123foo and bar tokens.
- Serialization of consecutive 123foo and bar() tokens.
- Serialization of consecutive 123foo and url(bar) tokens.
- Serialization of consecutive 123foo and - tokens.
- Serialization of consecutive 123foo and 123 tokens.
- Serialization of consecutive 123foo and 123% tokens.
- Serialization of consecutive 123foo and 123em tokens.
- Serialization of consecutive 123foo and --> tokens.
- Serialization of consecutive # and bar tokens.
- Serialization of consecutive # and bar() tokens.
- Serialization of consecutive # and url(bar) tokens.
- Serialization of consecutive # and - tokens.
- Serialization of consecutive # and 123 tokens.
- Serialization of consecutive # and 123% tokens.
- Serialization of consecutive # and 123em tokens.
- Serialization of consecutive - and bar tokens.
- Serialization of consecutive - and bar() tokens.
- Serialization of consecutive - and url(bar) tokens.
- Serialization of consecutive - and - tokens.
- Serialization of consecutive - and 123 tokens.
- Serialization of consecutive - and 123% tokens.
- Serialization of consecutive - and 123em tokens.
- Serialization of consecutive 123 and bar tokens.
- Serialization of consecutive 123 and bar() tokens.
- Serialization of consecutive 123 and url(bar) tokens.
- Serialization of consecutive 123 and 123 tokens.
- Serialization of consecutive 123 and 123% tokens.
- Serialization of consecutive 123 and 123em tokens.
- Serialization of consecutive 123 and % tokens.
- Serialization of consecutive @ and bar tokens.
- Serialization of consecutive @ and bar() tokens.
- Serialization of consecutive @ and url(bar) tokens.
- Serialization of consecutive @ and - tokens.
- Serialization of consecutive . and 123 tokens.
- Serialization of consecutive . and 123% tokens.
- Serialization of consecutive . and 123em tokens.
- Serialization of consecutive + and 123 tokens.
- Serialization of consecutive + and 123% tokens.
- Serialization of consecutive + and 123em tokens.
- Serialization of consecutive / and * tokens.
- Comments are handled correctly when computing a/* comment */b using t1:.
- Comments are handled correctly when computing a/* comment */var(--t1) using t1:b.
- Comments are handled correctly when computing var(--t1)b using t1:a/* comment */.
- Comments are handled correctly when computing var(--t1)b using t1:'a/* unfinished '.
- Comments are handled correctly when computing var(--t1)b using t1:"a/* unfinished ".
- Comments are handled correctly when computing var(--t1)b using t1:'a " '/* comment */.
- Empty fallback between tokens must not disturb comment insertion
serialize-escape-identifiers.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Rules must be the same after serialization round-trip, even with escaped characters
trailing-braces.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Trailing braces are not valid
unclosed-constructs.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- "[foo]" is a valid selector
- "[foo" is a valid selector
- ":nth-child(1)" is a valid selector
- ":nth-child(1" is a valid selector
unclosed-url-at-eof.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Unclosed url token at EOF is valid.
- Unclosed empty url token at EOF is valid.
unicode-range-selector.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Unicode range is not a token, and doesn't cause confusion in selectors
urange-parsing.html 89 / 95 passingChrome 89 / 956 failedWith failures
- ¶
FAIL"u/**/+/**/a/**/?" => "U+A0-AF"
assert_equals: expected "U+A0-AF" but got "U+1357"
- ¶
FAIL"u/**/+0a/**/?" => "U+A0-AF"
assert_equals: expected "U+A0-AF" but got "U+1357"
- ¶
FAIL"u/**/+0/**/?" => "U+0-F"
assert_equals: expected "U+0-F" but got "U+1357"
- ¶
FAIL"u/**/+0/**/-0a" => "U+0-A"
assert_equals: expected "U+0-A" but got "U+1357"
- ¶
FAIL"u/**/+0/**/-1" => "U+0-1"
assert_equals: expected "U+0-1" but got "U+1357"
- ¶
FAIL"u/**/+/**/?" => "U+0-F"
assert_equals: expected "U+0-F" but got "U+1357"
89 passing subtests
- "u+abc" => "U+ABC"
- "U+abc" => "U+ABC"
- "u+ABC" => "U+ABC"
- "U+ABC" => "U+ABC"
- "u+AbC" => "U+ABC"
- "u+efg" is invalid
- "u+ abc" is invalid
- "u +abc" is invalid
- "u + abc" is invalid
- "U + a b c" is invalid
- "u+a" => "U+A"
- "u+aa" => "U+AA"
- "u+aaa" => "U+AAA"
- "u+aaaa" => "U+AAAA"
- "u+aaaaa" => "U+AAAAA"
- "u+aaaaaaa" is invalid
- "u+a?" => "U+A0-AF"
- "u+a??" => "U+A00-AFF"
- "u+a???" => "U+A000-AFFF"
- "u+a????" => "U+A0000-AFFFF"
- "u+aaaaaa?" is invalid
- "u+aaaaa??" is invalid
- "u+aaaa???" is invalid
- "u+aaa????" is invalid
- "u+aa?????" is invalid
- "u+a??????" is invalid
- "u+a?a" is invalid
- "u+aaaaaa" is invalid
- "u+a?????" is invalid
- "u+0a" => "U+A"
- "U+0a0" => "U+A0"
- "u+0aaaaa" => "U+AAAAA"
- "u+0aaaaaa" is invalid
- "u+0a0000" => "U+A0000"
- "u+0a00000" is invalid
- "u+0aaaaa0" is invalid
- "u+00000a" => "U+A"
- "u+00000aa" is invalid
- "u+00000a0" is invalid
- "u+000000a" is invalid
- "u+0a????" => "U+A0000-AFFFF"
- "u+0a?????" is invalid
- "u+00a????" is invalid
- "u+22222a" is invalid
- "u+1e9a" => "U+1E9A"
- "u/**/0" is invalid
- "u+0" => "U+0"
- "u+00" => "U+0"
- "u+000" => "U+0"
- "u+0000" => "U+0"
- "u+00000" => "U+0"
- "u+000000" => "U+0"
- "u+0000000" is invalid
- "u+00000?" => "U+0-F"
- "u+0?????" => "U+0-FFFFF"
- "u+0?a" is invalid
- "u+000000?" is invalid
- "u+00000??" is invalid
- "u+0??????" is invalid
- "u+1e3" => "U+1E3"
- "u+1e-20" => "U+1E-20"
- "u+222222" is invalid
- "u+2?????" is invalid
- "u+0-0a" => "U+0-A"
- "u+000000-0aaaaa" => "U+0-AAAAA"
- "u+0000000-0a" is invalid
- "u+0-0aaaaaa" is invalid
- "u+0-000000a" is invalid
- "u+0+0a" is invalid
- "u+0?-0a" is invalid
- "u+0-0a?" is invalid
- "u+222222-22222a" is invalid
- "u+0-1" => "U+0-1"
- "u-0-1" is invalid
- "u-0+1" is invalid
- "u+0+1" is invalid
- "u+000000-000001" => "U+0-1"
- "u+0000000-1" is invalid
- "u+0-0000001" is invalid
- "u+0-10ffff" => "U+0-10FFFF"
- "u+0-110000" is invalid
- "u+0-222222" is invalid
- "u+?" => "U+0-F"
- "u+?????" => "u+0-FFFFF"
- "u+???????" is invalid
- "u+?a" is invalid
- "u+??????" is invalid
- "()U+123" is invalid
- u+a is a valid selector
url-whitespace-consumption.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- whitespace is optional between url( token and the string token
var-with-blocks.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- Plain var()
- Whole-value block with var()
- Whole-value block with var() (spaces)
- Trailing block, leading var()
- Leading block, trailing var()
- In-block var() with trailing token
- In-block var() with leading token
- Plain var() (custom property)
- Whole-value block with var() (custom property)
- Whole-value block with var() (spaces, custom property)
- Trailing block, leading var() (custom property)
- Leading block, trailing var() (custom property)
- In-block var() with trailing token (custom property)
- In-block var() with leading token (custom property)
whitespace.html 31 / 31 passingChrome 31 / 310 failedClean
31 passing subtests
- U+0009 is CSS whitespace
- U+000a is CSS whitespace
- U+000c is CSS whitespace
- U+000d is CSS whitespace
- U+0020 is CSS whitespace
- U+000b is *not* CSS whitespace
- U+0085 is *not* CSS whitespace
- U+00a0 is *not* CSS whitespace
- U+1680 is *not* CSS whitespace
- U+2000 is *not* CSS whitespace
- U+2001 is *not* CSS whitespace
- U+2002 is *not* CSS whitespace
- U+2003 is *not* CSS whitespace
- U+2004 is *not* CSS whitespace
- U+2005 is *not* CSS whitespace
- U+2006 is *not* CSS whitespace
- U+2007 is *not* CSS whitespace
- U+2008 is *not* CSS whitespace
- U+2009 is *not* CSS whitespace
- U+200a is *not* CSS whitespace
- U+2928 is *not* CSS whitespace
- U+2029 is *not* CSS whitespace
- U+202f is *not* CSS whitespace
- U+205f is *not* CSS whitespace
- U+3000 is *not* CSS whitespace
- U+180e is *not* CSS whitespace
- U+200b is *not* CSS whitespace
- U+200c is *not* CSS whitespace
- U+200d is *not* CSS whitespace
- U+2060 is *not* CSS whitespace
- U+feff is *not* CSS whitespace