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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
active-disabled.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Clicking on a disabled button should make it match the :active selector.
- Clicking the label for a disabled button should make the button match the :active selector.
- Clicking on a child of a disabled button should make the button match the :active selector.
- Clicking on a disabled input should make it match the :active selector.
- Clicking on a disabled textarea should make it match the :active selector.
autofill.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- ":autofill" should be a valid selector
- ":-webkit-autofill" should be a valid selector
checked-002.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The result of a previous query is invalidated when the selection changes
checked-after-clone.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Cloned checked checkboxes get their checked state copied correctly
checked-indeterminate.window.js 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- An element can be :checked and :indeterminate at the same time
checked-type-change.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Evaluation of :checked changes on input type change.
checked.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- ':checked' matches checked <input>s in checkbox and radio button states, selected <option>s
- ':checked' should no longer match <input>s whose type checkbox/radio has been removed
- ':checked' matches clicked checkbox and radio buttons
default.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- ':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
- ':default' matches dynamically changed form's default buttons
dir-bdi-dynamic-ancestor.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Setting dir=rtl on an ancestor does not change the directionality of a bdi with LTR content
- Changing an ancestor from dir=ltr to dir=rtl does not change the directionality of a bdi with LTR content
- Removing and re-adding dir=rtl on an ancestor does not change the directionality of a bdi with LTR content
- Changing an ancestor from dir=auto to dir=rtl does not change the directionality of a bdi with LTR content
dir-dynamic.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Dynamically changing dir, text on input element
- Dynamically changing dir, text on textarea element
- Dynamically changing dir, text on div element
- Dynamically changing dir, text on pre element
dir-html-input-dynamic-text.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- :dir on <input> isn't altered by text children
dir.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- ':dir(rtl)' matches all elements whose directionality is 'rtl'.
- ':dir(ltr)' matches all elements whose directionality is 'ltr'.
- ':dir(ltr)' doesn't match elements not in the document.
dir01.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- direction doesn't affect :dir()
disabled.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- ':disabled' should match only disabled elements
- ':disabled' should not match elements whose disabled attribute has been removed
- ':disabled' should also match elements whose disabled attribute has been set
- ':disabled' should also match elements whose disabled attribute has been set twice
- ':disabled' should also match disabled elements whose type has changed
- ':disabled' should not match elements not in the document
- ':disabled' should match elements that are appended to a disabled fieldset dynamically
enabled.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- ':enabled' elements that are not disabled
focus-autofocus.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- :focus selector should work with an autofocused element.
focus.html 5 / 5 passingChrome none reported0 failedClean
5 passing subtests
- input1 has the focus
- tabindex attribute makes the element focusable
- editable elements are focusable
- ':focus' matches focussed body with tabindex
- ':focus' doesn't match focused elements in iframe
indeterminate-radio.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- :indeterminate and input type=radio
indeterminate-type-change.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Evaluation of :indeterminate changes on input type change.
indeterminate.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- ':progress' matches <input>s radio buttons whose radio button group contains no checked input and <progress> elements without value attribute
- dynamically check a radio input in a radio button group
- click on radio4 which is in the indeterminate state
- adding a value to progress1 should put it in a determinate state
- removing progress2's value should put it in an indeterminate state
- ':progress' also matches <input> checkbox whose indeterminate IDL is set to true
inrange-outofrange-time-reversed.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- ':in-range' matches time inputs whose value is within a reversed range (>= min OR <= max)
- ':out-of-range' matches time inputs whose value is in the gap of a reversed range (> max AND < min)
- Dynamic update from in-range to out-of-range in a reversed time range
- Dynamic update from out-of-range to in-range in a reversed time range
inrange-outofrange-type-change.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Evaluation of :in-range changes for input type change.
- Evaluation of :out-of-range changes for input type change.
inrange-outofrange.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- ':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
- ':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
- ':in-range' update number1's value < min
- ':out-of-range' update number1's value < min
- ':in-range' update number3's min < value
- ':out-of-range' update number3's min < value
invalid-after-clone.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Cloned invalid inputs / textareas with interactive changes get their validity state copied correctly
link.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Only <a>s and <area>s that have a href attribute match ':link'
placeholder-shown-type-change.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Evaluation of :placeholder-shown changes for input type change.
readwrite-readonly-type-change.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Evaluation of :read-write and :read-only changes for input type change.
readwrite-readonly.html 25 / 25 passingChrome 25 / 250 failedClean
25 passing subtests
- The :read-write pseudo-class must not match input elements to which the readonly attribute does not apply
- The :read-only pseudo-class must match input elements to which the readonly attribute does not apply
- The :read-write pseudo-class must match input elements to which the readonly attribute applies, and that are mutable
- The :read-only pseudo-class must not match input elements to which the readonly attribute applies, and that are mutable
- The :read-write pseudo-class must not match input elements after the readonly attribute has been added
- The :read-only pseudo-class must match input elements after the readonly attribute has been added
- The :read-write pseudo-class must not match input elements after the readonly attribute has been removed
- The :read-only pseudo-class must match input elements after the readonly attribute has been removed
- The :read-write pseudo-class must not match input elements after the disabled attribute has been added
- The :read-only pseudo-class must match input elements after the disabled attribute has been added
- The :read-write pseudo-class must match input elements after the disabled attribute has been removed
- The :read-only pseudo-class must not match input elements after the disabled attribute has been removed
- The :read-write pseudo-class must match textarea elements that do not have a readonly attribute, and that are not disabled
- The :read-only pseudo-class must match textarea elements that have a readonly attribute, or that are disabled
- The :read-write pseudo-class must match textarea elements after the readonly attribute has been added
- The :read-only pseudo-class must match textarea elements after the readonly attribute has been added
- The :read-write pseudo-class must not match textarea elements that are disabled
- The :read-only pseudo-class must match textarea elements that are disabled
- The :read-write pseudo-class must match elements that are editable
- The :read-only pseudo-class must not match elements that are editable
- The :read-write pseudo-class must match elements that are editing hosts
- The :read-only pseudo-class must not match elements that are editing hosts
- The :read-write pseudo-class must match elements that are inside editing hosts, but not match inputs and textareas inside that aren't
- The :read-only pseudo-class must match form-associated custom elements
- The :read-write pseudo-class must match form-associated contenteditable custom elements
required-optional.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- ':required' matches required <input>s, <select>s and <textarea>s
- ':optional' matches elements <input>s, <select>s and <textarea>s that are not required
- ':required' doesn't match elements whose required attribute has been removed
- ':optional' matches elements whose required attribute has been removed
- ':required' matches elements whose required attribute has been added
- ':optional' doesn't match elements whose required attribute has been added
valid-invalid-fieldset-disconnected.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- <input> element becomes invalid inside disconnected <fieldset>
- <select> element becomes valid inside disconnected <fieldset>
valid-invalid.html 30 / 30 passingChrome 30 / 300 failedClean
30 passing subtests
- ':valid' matches elements that satisfy their constraints
- ':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
- ':valid' matches fieldset elements that have no descendant elements that themselves are candidates for constraint validation but do not satisfy their constraints
- ':valid' matches elements that satisfy their pattern constraints
- ':valid' matches elements that satisfy their number constraints
- ':invalid' matches elements that do not satisfy their simple text constraints
- ':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
- ':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
- ':invalid' matches elements that do not satisfy their pattern constraints
- ':invalid' matches elements that do not satisfy their number constraints
- ':valid' matches new elements that satisfy their constraints
- ':invalid' doesn't match new elements that satisfy their constraints
- ':valid' doesn't match new elements that do not satisfy their constraints
- ':invalid' matches new elements that do not satisfy their constraints
- :valid/:invalid styling for <form>
- empty form correctly styled on page-load
- valid form correctly styled on page-load
- invalid form correctly styled on page-load
- programmatically adding valid to empty form results in correct style
- programmatically adding invalid to empty form results in correct style
- programmatically-invalidated form correctly styled
- programmatically-validated form correctly styled
- :valid/:invalid styling for <fieldset>
- empty fieldset correctly styled on page-load
- valid fieldset correctly styled on page-load
- invalid fieldset correctly styled on page-load
- programmatically adding valid to empty fieldset results in correct style
- programmatically adding invalid to empty fieldset results in correct style
- programmatically-invalidated fieldset correctly styled
- programmatically-validated fieldset correctly styled