html/semantics/selectors/pseudo-classes/

131 / 131 WPT subtests passing

Failed
0
Timed out
0
Not run
0
Test files
32
Blocking files
0

Chrome 124 / 126 WPT subtests passing on the same files, 3 blocking

Tests

32 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
active-disabled.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Clicking on a disabled button should make it match the :active selector.
  2. Clicking the label for a disabled button should make the button match the :active selector.
  3. Clicking on a child of a disabled button should make the button match the :active selector.
  4. Clicking on a disabled input should make it match the :active selector.
  5. Clicking on a disabled textarea should make it match the :active selector.
autofill.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. ":autofill" should be a valid selector
  2. ":-webkit-autofill" should be a valid selector
checked-002.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. The result of a previous query is invalidated when the selection changes
checked-after-clone.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Cloned checked checkboxes get their checked state copied correctly
checked-indeterminate.window.js1 / 1 passingChrome 0 / 10 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. An element can be :checked and :indeterminate at the same time
checked-type-change.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Evaluation of :checked changes on input type change.
checked.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. ':checked' matches checked <input>s in checkbox and radio button states, selected <option>s
  2. ':checked' should no longer match <input>s whose type checkbox/radio has been removed
  3. ':checked' matches clicked checkbox and radio buttons
default.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. ':default' matches <button>s that are their form's default button, <input>s of type submit/image that are their form's default button, checked <input>s and selected <option>s
  2. ':default' matches dynamically changed form's default buttons
dir-bdi-dynamic-ancestor.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. Setting dir=rtl on an ancestor does not change the directionality of a bdi with LTR content
  2. Changing an ancestor from dir=ltr to dir=rtl does not change the directionality of a bdi with LTR content
  3. Removing and re-adding dir=rtl on an ancestor does not change the directionality of a bdi with LTR content
  4. Changing an ancestor from dir=auto to dir=rtl does not change the directionality of a bdi with LTR content
dir-dynamic.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. Dynamically changing dir, text on input element
  2. Dynamically changing dir, text on textarea element
  3. Dynamically changing dir, text on div element
  4. Dynamically changing dir, text on pre element
dir-html-input-dynamic-text.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. :dir on <input> isn't altered by text children
dir.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. ':dir(rtl)' matches all elements whose directionality is 'rtl'.
  2. ':dir(ltr)' matches all elements whose directionality is 'ltr'.
  3. ':dir(ltr)' doesn't match elements not in the document.
dir01.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. direction doesn't affect :dir()
disabled.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. ':disabled' should match only disabled elements
  2. ':disabled' should not match elements whose disabled attribute has been removed
  3. ':disabled' should also match elements whose disabled attribute has been set
  4. ':disabled' should also match elements whose disabled attribute has been set twice
  5. ':disabled' should also match disabled elements whose type has changed
  6. ':disabled' should not match elements not in the document
  7. ':disabled' should match elements that are appended to a disabled fieldset dynamically
enabled.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. ':enabled' elements that are not disabled
focus-autofocus.html1 / 1 passingChrome 0 / 10 failedClean
Standing
Clean runner status OK
Chrome
TIMEOUT 0 / 1 WPT subtests passing runner status TIMEOUT
1 passing subtest
  1. :focus selector should work with an autofocused element.
focus.html5 / 5 passingChrome none reported0 failedClean
Standing
Clean runner status OK
Chrome
TIMEOUT none reported WPT subtests passing runner status TIMEOUT
5 passing subtests
  1. input1 has the focus
  2. tabindex attribute makes the element focusable
  3. editable elements are focusable
  4. ':focus' matches focussed body with tabindex
  5. ':focus' doesn't match focused elements in iframe
indeterminate-radio.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. :indeterminate and input type=radio
indeterminate-type-change.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Evaluation of :indeterminate changes on input type change.
indeterminate.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. ':progress' matches <input>s radio buttons whose radio button group contains no checked input and <progress> elements without value attribute
  2. dynamically check a radio input in a radio button group
  3. click on radio4 which is in the indeterminate state
  4. adding a value to progress1 should put it in a determinate state
  5. removing progress2's value should put it in an indeterminate state
  6. ':progress' also matches <input> checkbox whose indeterminate IDL is set to true
inrange-outofrange-time-reversed.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. ':in-range' matches time inputs whose value is within a reversed range (>= min OR <= max)
  2. ':out-of-range' matches time inputs whose value is in the gap of a reversed range (> max AND < min)
  3. Dynamic update from in-range to out-of-range in a reversed time range
  4. Dynamic update from out-of-range to in-range in a reversed time range
inrange-outofrange-type-change.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. Evaluation of :in-range changes for input type change.
  2. Evaluation of :out-of-range changes for input type change.
inrange-outofrange.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. ':in-range' matches all elements that are candidates for constraint validation, have range limitations, and that are neither suffering from an underflow nor suffering from an overflow
  2. ':out-of-range' matches all elements that are candidates for constraint validation, have range limitations, and that are either suffering from an underflow or suffering from an overflow
  3. ':in-range' update number1's value < min
  4. ':out-of-range' update number1's value < min
  5. ':in-range' update number3's min < value
  6. ':out-of-range' update number3's min < value
invalid-after-clone.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Cloned invalid inputs / textareas with interactive changes get their validity state copied correctly
link.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Only <a>s and <area>s that have a href attribute match ':link'
placeholder-shown-type-change.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Evaluation of :placeholder-shown changes for input type change.
readwrite-readonly-type-change.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Evaluation of :read-write and :read-only changes for input type change.
readwrite-readonly.html25 / 25 passingChrome 25 / 250 failedClean
Standing
Clean runner status OK
Chrome
Clean 25 / 25 WPT subtests passing runner status OK
25 passing subtests
  1. The :read-write pseudo-class must not match input elements to which the readonly attribute does not apply
  2. The :read-only pseudo-class must match input elements to which the readonly attribute does not apply
  3. The :read-write pseudo-class must match input elements to which the readonly attribute applies, and that are mutable
  4. The :read-only pseudo-class must not match input elements to which the readonly attribute applies, and that are mutable
  5. The :read-write pseudo-class must not match input elements after the readonly attribute has been added
  6. The :read-only pseudo-class must match input elements after the readonly attribute has been added
  7. The :read-write pseudo-class must not match input elements after the readonly attribute has been removed
  8. The :read-only pseudo-class must match input elements after the readonly attribute has been removed
  9. The :read-write pseudo-class must not match input elements after the disabled attribute has been added
  10. The :read-only pseudo-class must match input elements after the disabled attribute has been added
  11. The :read-write pseudo-class must match input elements after the disabled attribute has been removed
  12. The :read-only pseudo-class must not match input elements after the disabled attribute has been removed
  13. The :read-write pseudo-class must match textarea elements that do not have a readonly attribute, and that are not disabled
  14. The :read-only pseudo-class must match textarea elements that have a readonly attribute, or that are disabled
  15. The :read-write pseudo-class must match textarea elements after the readonly attribute has been added
  16. The :read-only pseudo-class must match textarea elements after the readonly attribute has been added
  17. The :read-write pseudo-class must not match textarea elements that are disabled
  18. The :read-only pseudo-class must match textarea elements that are disabled
  19. The :read-write pseudo-class must match elements that are editable
  20. The :read-only pseudo-class must not match elements that are editable
  21. The :read-write pseudo-class must match elements that are editing hosts
  22. The :read-only pseudo-class must not match elements that are editing hosts
  23. The :read-write pseudo-class must match elements that are inside editing hosts, but not match inputs and textareas inside that aren't
  24. The :read-only pseudo-class must match form-associated custom elements
  25. The :read-write pseudo-class must match form-associated contenteditable custom elements
required-optional-hidden.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Evaluation of :required and :optional changes for input type change.
required-optional.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. ':required' matches required <input>s, <select>s and <textarea>s
  2. ':optional' matches elements <input>s, <select>s and <textarea>s that are not required
  3. ':required' doesn't match elements whose required attribute has been removed
  4. ':optional' matches elements whose required attribute has been removed
  5. ':required' matches elements whose required attribute has been added
  6. ':optional' doesn't match elements whose required attribute has been added
valid-invalid-fieldset-disconnected.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. <input> element becomes invalid inside disconnected <fieldset>
  2. <select> element becomes valid inside disconnected <fieldset>
valid-invalid.html30 / 30 passingChrome 30 / 300 failedClean
Standing
Clean runner status OK
Chrome
Clean 30 / 30 WPT subtests passing runner status OK
30 passing subtests
  1. ':valid' matches elements that satisfy their constraints
  2. ':valid' matches form elements that are not the form owner of any elements that themselves are candidates for constraint validation but do not satisfy their constraints
  3. ':valid' matches fieldset elements that have no descendant elements that themselves are candidates for constraint validation but do not satisfy their constraints
  4. ':valid' matches elements that satisfy their pattern constraints
  5. ':valid' matches elements that satisfy their number constraints
  6. ':invalid' matches elements that do not satisfy their simple text constraints
  7. ':invalid' matches form elements that are the form owner of one or more elements that themselves are candidates for constraint validation but do not satisfy their constraints
  8. ':invalid' matches fieldset elements that have of one or more descendant elements that themselves are candidates for constraint validation but do not satisfy their constraints
  9. ':invalid' matches elements that do not satisfy their pattern constraints
  10. ':invalid' matches elements that do not satisfy their number constraints
  11. ':valid' matches new elements that satisfy their constraints
  12. ':invalid' doesn't match new elements that satisfy their constraints
  13. ':valid' doesn't match new elements that do not satisfy their constraints
  14. ':invalid' matches new elements that do not satisfy their constraints
  15. :valid/:invalid styling for <form>
  16. empty form correctly styled on page-load
  17. valid form correctly styled on page-load
  18. invalid form correctly styled on page-load
  19. programmatically adding valid to empty form results in correct style
  20. programmatically adding invalid to empty form results in correct style
  21. programmatically-invalidated form correctly styled
  22. programmatically-validated form correctly styled
  23. :valid/:invalid styling for <fieldset>
  24. empty fieldset correctly styled on page-load
  25. valid fieldset correctly styled on page-load
  26. invalid fieldset correctly styled on page-load
  27. programmatically adding valid to empty fieldset results in correct style
  28. programmatically adding invalid to empty fieldset results in correct style
  29. programmatically-invalidated fieldset correctly styled
  30. programmatically-validated fieldset correctly styled

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.