css/selectors/parsing/

378 / 381 WPT subtests passing

Failed
3
Timed out
0
Not run
0
Test files
21
Blocking files
0

Chrome 342 / 381 WPT subtests passing on the same files, 1 blocking

Tests

21 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
invalid-pseudos.html12 / 12 passingChrome 10 / 120 failedClean
Standing
Clean runner status OK
Chrome
With failures 10 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. ":-internal-animating-full-screen-transition" should be an invalid selector
  2. ":-internal-fullscreen-document" should be an invalid selector
  3. ":-internal-html-document" should be an invalid selector
  4. ":-internal-media-document" should be an invalid selector
  5. ":-khtml-drag" should be an invalid selector
  6. ":-webkit-animating-full-screen-transition" should be an invalid selector
  7. ":-webkit-full-page-media" should be an invalid selector
  8. ":-webkit-full-screen-ancestor" should be an invalid selector
  9. ":-webkit-full-screen-controls-hidden" should be an invalid selector
  10. ":-webkit-full-screen-document" should be an invalid selector
  11. "::-apple-attachment-controls-container" should be an invalid selector
  12. "::-internal-loading-auto-fill-button" should be an invalid selector
parse-anplusb.html112 / 112 passingChrome 112 / 1120 failedClean
Standing
Clean runner status OK
Chrome
Clean 112 / 112 WPT subtests passing runner status OK
112 passing subtests
  1. :nth-child(1n+0) should be parsed and serialized correctly
  2. :nth-child(n+0) should be parsed and serialized correctly
  3. :nth-child(n) should be parsed and serialized correctly
  4. :nth-child(-n+0) should be parsed and serialized correctly
  5. :nth-child(-n) should be parsed and serialized correctly
  6. :nth-child(N) should be parsed and serialized correctly
  7. :nth-child(+n+3) should be parsed and serialized correctly
  8. :nth-child( +n + 7 ) should be parsed and serialized correctly
  9. :nth-child( N- 123) should be parsed and serialized correctly
  10. :nth-child(n- 10) should be parsed and serialized correctly
  11. :nth-child(-n - 1) should be parsed and serialized correctly
  12. :nth-child( 23n + 123 ) should be parsed and serialized correctly
  13. :nth-child(n- 1 2) should not parse
  14. :nth-child(n-b1) should not parse
  15. :nth-child(n-+1) should not parse
  16. :nth-child(n-1n) should not parse
  17. :nth-child(-n -b1) should not parse
  18. :nth-child(-1n- b1) should not parse
  19. :nth-child(-n-13b1) should not parse
  20. :nth-child(-n-+1) should not parse
  21. :nth-child(-n+n) should not parse
  22. :nth-child(+ 1n) should not parse
  23. :nth-child( n +12 3) should not parse
  24. :nth-child( 12 n ) should not parse
  25. :nth-child(+12n-0+1) should not parse
  26. :nth-child(+12N -- 1) should not parse
  27. :nth-child(+12 N ) should not parse
  28. :nth-child(+ n + 7) should not parse
  29. :nth-last-child(1n+0) should be parsed and serialized correctly
  30. :nth-last-child(n+0) should be parsed and serialized correctly
  31. :nth-last-child(n) should be parsed and serialized correctly
  32. :nth-last-child(-n+0) should be parsed and serialized correctly
  33. :nth-last-child(-n) should be parsed and serialized correctly
  34. :nth-last-child(N) should be parsed and serialized correctly
  35. :nth-last-child(+n+3) should be parsed and serialized correctly
  36. :nth-last-child( +n + 7 ) should be parsed and serialized correctly
  37. :nth-last-child( N- 123) should be parsed and serialized correctly
  38. :nth-last-child(n- 10) should be parsed and serialized correctly
  39. :nth-last-child(-n - 1) should be parsed and serialized correctly
  40. :nth-last-child( 23n + 123 ) should be parsed and serialized correctly
  41. :nth-last-child(n- 1 2) should not parse
  42. :nth-last-child(n-b1) should not parse
  43. :nth-last-child(n-+1) should not parse
  44. :nth-last-child(n-1n) should not parse
  45. :nth-last-child(-n -b1) should not parse
  46. :nth-last-child(-1n- b1) should not parse
  47. :nth-last-child(-n-13b1) should not parse
  48. :nth-last-child(-n-+1) should not parse
  49. :nth-last-child(-n+n) should not parse
  50. :nth-last-child(+ 1n) should not parse
  51. :nth-last-child( n +12 3) should not parse
  52. :nth-last-child( 12 n ) should not parse
  53. :nth-last-child(+12n-0+1) should not parse
  54. :nth-last-child(+12N -- 1) should not parse
  55. :nth-last-child(+12 N ) should not parse
  56. :nth-last-child(+ n + 7) should not parse
  57. :nth-of-type(1n+0) should be parsed and serialized correctly
  58. :nth-of-type(n+0) should be parsed and serialized correctly
  59. :nth-of-type(n) should be parsed and serialized correctly
  60. :nth-of-type(-n+0) should be parsed and serialized correctly
  61. :nth-of-type(-n) should be parsed and serialized correctly
  62. :nth-of-type(N) should be parsed and serialized correctly
  63. :nth-of-type(+n+3) should be parsed and serialized correctly
  64. :nth-of-type( +n + 7 ) should be parsed and serialized correctly
  65. :nth-of-type( N- 123) should be parsed and serialized correctly
  66. :nth-of-type(n- 10) should be parsed and serialized correctly
  67. :nth-of-type(-n - 1) should be parsed and serialized correctly
  68. :nth-of-type( 23n + 123 ) should be parsed and serialized correctly
  69. :nth-of-type(n- 1 2) should not parse
  70. :nth-of-type(n-b1) should not parse
  71. :nth-of-type(n-+1) should not parse
  72. :nth-of-type(n-1n) should not parse
  73. :nth-of-type(-n -b1) should not parse
  74. :nth-of-type(-1n- b1) should not parse
  75. :nth-of-type(-n-13b1) should not parse
  76. :nth-of-type(-n-+1) should not parse
  77. :nth-of-type(-n+n) should not parse
  78. :nth-of-type(+ 1n) should not parse
  79. :nth-of-type( n +12 3) should not parse
  80. :nth-of-type( 12 n ) should not parse
  81. :nth-of-type(+12n-0+1) should not parse
  82. :nth-of-type(+12N -- 1) should not parse
  83. :nth-of-type(+12 N ) should not parse
  84. :nth-of-type(+ n + 7) should not parse
  85. :nth-last-of-type(1n+0) should be parsed and serialized correctly
  86. :nth-last-of-type(n+0) should be parsed and serialized correctly
  87. :nth-last-of-type(n) should be parsed and serialized correctly
  88. :nth-last-of-type(-n+0) should be parsed and serialized correctly
  89. :nth-last-of-type(-n) should be parsed and serialized correctly
  90. :nth-last-of-type(N) should be parsed and serialized correctly
  91. :nth-last-of-type(+n+3) should be parsed and serialized correctly
  92. :nth-last-of-type( +n + 7 ) should be parsed and serialized correctly
  93. :nth-last-of-type( N- 123) should be parsed and serialized correctly
  94. :nth-last-of-type(n- 10) should be parsed and serialized correctly
  95. :nth-last-of-type(-n - 1) should be parsed and serialized correctly
  96. :nth-last-of-type( 23n + 123 ) should be parsed and serialized correctly
  97. :nth-last-of-type(n- 1 2) should not parse
  98. :nth-last-of-type(n-b1) should not parse
  99. :nth-last-of-type(n-+1) should not parse
  100. :nth-last-of-type(n-1n) should not parse
  101. :nth-last-of-type(-n -b1) should not parse
  102. :nth-last-of-type(-1n- b1) should not parse
  103. :nth-last-of-type(-n-13b1) should not parse
  104. :nth-last-of-type(-n-+1) should not parse
  105. :nth-last-of-type(-n+n) should not parse
  106. :nth-last-of-type(+ 1n) should not parse
  107. :nth-last-of-type( n +12 3) should not parse
  108. :nth-last-of-type( 12 n ) should not parse
  109. :nth-last-of-type(+12n-0+1) should not parse
  110. :nth-last-of-type(+12N -- 1) should not parse
  111. :nth-last-of-type(+12 N ) should not parse
  112. :nth-last-of-type(+ n + 7) should not parse
parse-attribute.html16 / 16 passingChrome 16 / 160 failedClean
Standing
Clean runner status OK
Chrome
Clean 16 / 16 WPT subtests passing runner status OK
16 passing subtests
  1. "[att]" should be a valid selector
  2. "[att=val]" should be a valid selector
  3. "[att~=val]" should be a valid selector
  4. "[att|=val]" should be a valid selector
  5. "h1[title]" should be a valid selector
  6. "span[class='example']" should be a valid selector
  7. "a[hreflang=fr]" should be a valid selector
  8. "a[hreflang|='en']" should be a valid selector
  9. "[att^=val]" should be a valid selector
  10. "[att$=val]" should be a valid selector
  11. "[att*=val]" should be a valid selector
  12. "object[type^=\"image/\"]" should be a valid selector
  13. "a[href$=\".html\"]" should be a valid selector
  14. "p[title*=\"hello\"]" should be a valid selector
  15. "[*|att]" should be a valid selector
  16. "[|att]" should be a valid selector
parse-child.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. "body > p" should be a valid selector
  2. "div ol>li p" should be a valid selector
parse-class.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. "*.pastoral" should be a valid selector
  2. ".pastoral" should be a valid selector
  3. "h1.pastoral" should be a valid selector
  4. "p.pastoral.marine" should be a valid selector
parse-descendant.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. "h1 em" should be a valid selector
  2. "div * p" should be a valid selector
  3. "div p *[href]" should be a valid selector
parse-focus-visible.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. ":focus-visible" should be a valid selector
  2. "a:focus-visible" should be a valid selector
  3. ":focus:not(:focus-visible)" should be a valid selector
parse-has-disallow-nesting-has-inside-has.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. ".a:has(.b:has(.c))" should be an invalid selector
  2. CSS Selectors: The relational pseudo-class (disallow nesting :has() inside :has())
parse-has-forgiving-selector.html3 / 3 passingChrome 0 / 30 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. ":has(:is(:has(*)))" should be a valid selector
  2. ":has(:where(:has(*)))" should be a valid selector
  3. ":has(:is(.a, 123))" should be a valid selector
parse-has.html29 / 29 passingChrome 29 / 290 failedClean
Standing
Clean runner status OK
Chrome
Clean 29 / 29 WPT subtests passing runner status OK
29 passing subtests
  1. ":has(a)" should be a valid selector
  2. ":has(#a)" should be a valid selector
  3. ":has(.a)" should be a valid selector
  4. ":has([a])" should be a valid selector
  5. ":has([a=\"b\"])" should be a valid selector
  6. ":has([a|=\"b\"])" should be a valid selector
  7. ":has(:hover)" should be a valid selector
  8. "*:has(.a)" should be a valid selector
  9. ".a:has(.b)" should be a valid selector
  10. ".a:has(> .b)" should be a valid selector
  11. ".a:has(~ .b)" should be a valid selector
  12. ".a:has(+ .b)" should be a valid selector
  13. ".a:has(.b) .c" should be a valid selector
  14. ".a .b:has(.c)" should be a valid selector
  15. ".a .b:has(.c .d)" should be a valid selector
  16. ".a .b:has(.c .d) .e" should be a valid selector
  17. ".a:has(.b:is(.c .d))" should be a valid selector
  18. ".a:is(.b:has(.c) .d)" should be a valid selector
  19. ".a:not(:has(.b))" should be a valid selector
  20. ".a:has(:not(.b))" should be a valid selector
  21. ".a:has(.b):has(.c)" should be a valid selector
  22. "*|*:has(*)" should be a valid selector
  23. ":has(*|*)" should be a valid selector
  24. ":has" should be an invalid selector
  25. ".a:has" should be an invalid selector
  26. ".a:has b" should be an invalid selector
  27. ":has()" should be an invalid selector
  28. ":has(123)" should be an invalid selector
  29. ":has(.a, 123)" should be an invalid selector
parse-heading.html28 / 28 passingChrome 18 / 280 failedClean
Standing
Clean runner status OK
Chrome
With failures 18 / 28 WPT subtests passing runner status OK
28 passing subtests
  1. ":heading" should be a valid selector
  2. ":heading(2)" should be a valid selector
  3. ":heading(99999)" should be a valid selector
  4. ":heading(0)" should be a valid selector
  5. ":heading(0, 1, 2)" should be a valid selector
  6. ":heading(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)" should be a valid selector
  7. ":heading(-1)" should be a valid selector
  8. "h1:heading" should be a valid selector
  9. "h1:heading(1)" should be a valid selector
  10. "h1:heading(2)" should be a valid selector
  11. ":heading()" should be an invalid selector
  12. ":heading(1.0)" should be an invalid selector
  13. ":heading(1.4)" should be an invalid selector
  14. ":heading(n)" should be an invalid selector
  15. ":heading(odd)" should be an invalid selector
  16. ":heading(even)" should be an invalid selector
  17. ":heading(2n)" should be an invalid selector
  18. ":heading(2n+1)" should be an invalid selector
  19. ":heading(2n+2)" should be an invalid selector
  20. ":heading(-n+3)" should be an invalid selector
  21. ":heading(2n, 3n)" should be an invalid selector
  22. ":heading(2, 3n)" should be an invalid selector
  23. ":heading(2 of .foo)" should be an invalid selector
  24. ":heading(2n of .foo)" should be an invalid selector
  25. ":heading(calc(1))" should be an invalid selector
  26. ":heading(max(1, 2))" should be an invalid selector
  27. ":heading(min(1, 2)" should be an invalid selector
  28. ":heading(var(--level))" should be an invalid selector
parse-id.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. "h1#chapter1" should be a valid selector
  2. "#chapter1" should be a valid selector
  3. "*#z98y" should be a valid selector
parse-is-where.html42 / 45 passingChrome 26 / 453 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 26 / 45 WPT subtests passing runner status OK
  1. FAIL"::part(foo):is([attr='value'])" should be a valid selector
    assert_equals: serialization should be canonical expected "::part(foo):is([attr='value'])" but got "::part(foo):is([attr=\"value\"])"
  2. FAIL"::part(foo):where([attr='value'])" should be a valid selector
    assert_equals: serialization should be canonical expected "::part(foo):where([attr='value'])" but got "::part(foo):where([attr=\"value\"])"
  3. FAIL":is(# C4єанйтж╕/┘ГЁжЮХєа▓┐ЁЭБМєаСеЁЭЖА%=[ямм0)" should be an invalid selector
    assert_throws_dom: ":is(# C4єанйтж╕/┘ГЁжЮХєа▓┐ЁЭБМєаСеЁЭЖА%=[ямм0)" should throw in querySelector function "() => document.querySelector(selector)" did not throw
42 passing subtests
  1. ":is(div )" should be a valid selector
  2. ":where(div )" should be a valid selector
  3. ":is(div + bar, div ~ .baz)" should be a valid selector
  4. ":where(div + bar, div ~ .baz)" should be a valid selector
  5. ":is(:is(div))" should be a valid selector
  6. ":where(:is(div))" should be a valid selector
  7. ":is(:where(div))" should be a valid selector
  8. ":where(:where(div))" should be a valid selector
  9. ":host(:is(div))" should be a valid selector
  10. ":host(:where(div))" should be a valid selector
  11. ":host(:is(div ))" should be a valid selector
  12. ":host(:where(div ))" should be a valid selector
  13. ":host(:is(div .foo))" should be a valid selector
  14. ":host(:where(div .foo))" should be a valid selector
  15. ":is(:hover, :active)" should be a valid selector
  16. ":where(:hover, :active)" should be a valid selector
  17. ":is(div):hover" should be a valid selector
  18. ":where(div):hover" should be a valid selector
  19. ":is(div)::before" should be a valid selector
  20. ":where(div)::before" should be a valid selector
  21. ":is(::before)" should be a valid selector
  22. ":where(::before)" should be a valid selector
  23. ":is(div) + bar" should be a valid selector
  24. ":where(div) + bar" should be a valid selector
  25. "::part(foo):is(:hover)" should be a valid selector
  26. "::part(foo):where(:hover)" should be a valid selector
  27. ":not(:is(div))" should be a valid selector
  28. ":not(:where(div))" should be a valid selector
  29. ":not(:is(div .foo))" should be a valid selector
  30. ":not(:where(div .foo))" should be a valid selector
  31. ":is(,,,)" should be a valid selector
  32. ":where(,,,)" should be a valid selector
  33. ":host(:is(,,,))" should be a valid selector
  34. ":host(:where(,,,))" should be a valid selector
  35. ":host(:is(.a, .b+.c, .d))" should be a valid selector
  36. ":host(:where(.a, .b+.c, .d))" should be a valid selector
  37. ":is(::before:HOVER, .a)" should be a valid selector
  38. ":where(::before:HOVER, .a)" should be a valid selector
  39. ":has(:is(:has(.a+.b)))" should be a valid selector
  40. ":has(:where(:has(.a+.b)))" should be a valid selector
  41. ":is(::before:HOVER )" should be a valid selector
  42. ":where(::before:HOVER )" should be a valid selector
parse-is.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. ":is(ul,ol,.list) > [hidden]" should be a valid selector
  2. ":is(:hover,:focus)" should be a valid selector
  3. "a:is(:not(:hover))" should be a valid selector
  4. ":is(#a)" should be a valid selector
  5. ".a.b ~ :is(.c.d ~ .e.f)" should be a valid selector
  6. ".a.b ~ .c.d:is(span.e + .f, .g.h > .i.j .k)" should be a valid selector
parse-not.html26 / 26 passingChrome 26 / 260 failedClean
Standing
Clean runner status OK
Chrome
Clean 26 / 26 WPT subtests passing runner status OK
26 passing subtests
  1. "button:not([disabled])" should be a valid selector
  2. "*:not(foo)" should be a valid selector
  3. ":not(:link):not(:visited)" should be a valid selector
  4. "*|*:not(*)" should be a valid selector
  5. ":not(:hover)" should be a valid selector
  6. ":not(*|*)" should be a valid selector
  7. "foo:not(bar)" should be a valid selector
  8. ":not(:not(foo))" should be a valid selector
  9. ":not(.a .b)" should be a valid selector
  10. ":not(.a + .b)" should be a valid selector
  11. ":not(.a .b ~ c)" should be a valid selector
  12. ":not(span.a, div.b)" should be a valid selector
  13. ":not(.a .b ~ c, .d .e)" should be a valid selector
  14. ":not(:host)" should be a valid selector
  15. ":not(:host(.a))" should be a valid selector
  16. ":host(:not(.a))" should be a valid selector
  17. ":not(:host(:not(.a)))" should be a valid selector
  18. ":not([disabled][selected])" should be a valid selector
  19. ":not([disabled],[selected])" should be a valid selector
  20. ":not()" should be an invalid selector
  21. ":not(:not())" should be an invalid selector
  22. ":not(::before)" should be an invalid selector
  23. ":not(:unknownpseudo)" should be an invalid selector
  24. ":not(.a, :unknownpseudo)" should be an invalid selector
  25. ":not(:unknownpseudo, .a)" should be an invalid selector
  26. ":host(:not(.a .b))" should be an invalid selector
parse-part.html32 / 32 passingChrome 28 / 320 failedClean
Standing
Clean runner status OK
Chrome
With failures 28 / 32 WPT subtests passing runner status OK
32 passing subtests
  1. "::part(--foo)" should be a valid selector
  2. "::part(bar)" should be a valid selector
  3. "::part(--)" should be a valid selector
  4. "::part(--0)" should be a valid selector
  5. "::part(foo bar)" should be a valid selector
  6. "::part(-foo bar)" should be a valid selector
  7. "::part(foo):focus" should be a valid selector
  8. "::part(foo):hover" should be a valid selector
  9. "::part(foo):focus-within" should be a valid selector
  10. "::part(foo)::before" should be a valid selector
  11. "::part(foo)::after" should be a valid selector
  12. "::part(foo)::placeholder" should be a valid selector
  13. "::part(foo)::first-line" should be a valid selector
  14. "::part(foo)::first-letter" should be a valid selector
  15. "::part(foo)::file-selector-button" should be a valid selector
  16. "::part(foo):is(:focus)" should be a valid selector
  17. ":lang(en)::part(foo)" should be a valid selector
  18. ":dir(ltr)::part(foo)" should be a valid selector
  19. "::part(foo):lang(en)" should be a valid selector
  20. "::part(foo):dir(ltr)" should be a valid selector
  21. "::part(foo):disabled" should be a valid selector
  22. "::part(foo):checked" should be a valid selector
  23. ":part()" should be an invalid selector
  24. ":part(0)" should be an invalid selector
  25. ":part('foo')" should be an invalid selector
  26. ":part([foo])" should be an invalid selector
  27. "::part(foo) + ::part(bar)" should be an invalid selector
  28. "::part(foo):is(ul)" should be a valid selector
  29. "::part(foo):is(nav ul)" should be a valid selector
  30. "::part(foo):where(ul)" should be a valid selector
  31. "::part(foo):where(nav ul)" should be a valid selector
  32. "::part(foo):has(li)" should be an invalid selector
parse-sibling.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. "math + p" should be a valid selector
  2. "h1.opener + h2" should be a valid selector
  3. "h1 ~ pre" should be a valid selector
parse-slotted.html19 / 19 passingChrome 18 / 190 failedClean
Standing
Clean runner status OK
Chrome
With failures 18 / 19 WPT subtests passing runner status OK
19 passing subtests
  1. "::slotted(bar)" should be a valid selector
  2. "::slotted([attr=\"foo\"])" should be a valid selector
  3. "::slotted(*)" should be a valid selector
  4. "::slotted(.class)" should be a valid selector
  5. "::slotted(:not(foo))" should be a valid selector
  6. "::slotted(:not(:nth-last-of-type(2)):not([slot=\"foo\"]))" should be a valid selector
  7. "::slotted(:first-child)" should be a valid selector
  8. "::slotted(:hover)" should be a valid selector
  9. "::slotted(:has(:first-child:last-child))" should be a valid selector
  10. "::slotted" should be an invalid selector
  11. "::slotted()" should be an invalid selector
  12. "::slotted(0)" should be an invalid selector
  13. ":slotted(foo)" should be an invalid selector
  14. "::slotted(foo):first-child" should be an invalid selector
  15. "::slotted(foo):hover" should be an invalid selector
  16. "::slotted(foo):focus" should be an invalid selector
  17. "::slotted(foo):lang(en)" should be an invalid selector
  18. "::slotted(foo):dir(ltr)" should be an invalid selector
  19. "::slotted(foo) + ::slotted(bar)" should be an invalid selector
parse-state.html24 / 24 passingChrome 24 / 240 failedClean
Standing
Clean runner status OK
Chrome
Clean 24 / 24 WPT subtests passing runner status OK
24 passing subtests
  1. ":state(--foo)" should be a valid selector
  2. ":state(bar)" should be a valid selector
  3. ":state(--)" should be a valid selector
  4. ":state(--0)" should be a valid selector
  5. ":host(:state(--foo))" should be a valid selector
  6. "my-input[type=\"foo\"]:state(checked)" should be a valid selector
  7. "my-input[type=\"foo\"]:state(--0)::before" should be a valid selector
  8. "my-input[type=\"foo\"]:state(--0)::part(inner)" should be a valid selector
  9. "my-input[type=\"foo\"]:state(--0)::part(inner):state(bar)" should be a valid selector
  10. "::part(inner):state(bar)::before" should be a valid selector
  11. "::part(inner):state(bar)::after" should be a valid selector
  12. ":state" should be an invalid selector
  13. ":state(" should be an invalid selector
  14. ":state()" should be an invalid selector
  15. ":state(0)" should be an invalid selector
  16. ":state(0rem)" should be an invalid selector
  17. ":state(url())" should be an invalid selector
  18. ":state(foo(1))" should be an invalid selector
  19. ":state(:host)" should be an invalid selector
  20. "my-input::after:state(foo)" should be an invalid selector
  21. "::part(inner):state(bar)::before:state(foo)" should be an invalid selector
  22. "::part(inner):state(bar)::after:state(foo)" should be an invalid selector
  23. "my-input::first-letter:state(foo)" should be an invalid selector
  24. "::slotted(foo):state(foo)" should be an invalid selector
parse-universal.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. "*" should be a valid selector
  2. "div :first-child" should be a valid selector
  3. "div *:first-child" should be a valid selector
parse-where.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. ":where(ul,ol,.list) > [hidden]" should be a valid selector
  2. ":where(:hover,:focus)" should be a valid selector
  3. "a:where(:not(:hover))" should be a valid selector
  4. ":where(#a)" should be a valid selector
  5. ".a.b ~ :where(.c.d ~ .e.f)" should be a valid selector
  6. ".a.b ~ .c.d:where(span.e + .f, .g.h > .i.j .k)" should be a valid selector

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.