html/semantics/forms/the-button-element/
65 / 66 WPT subtests passing
- Failed
- 1
- Timed out
- 0
- Not run
- 0
- Test files
- 24
- Blocking files
- 0
Chrome 64 / 66 WPT subtests passing on the same files, none blocking, 1 without a result
Tests
24 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-onblur.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Buttons should clear :active when the user tabs away from them while holding spacebar.
button-activate-keyup-prevented.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Button activation submits on keyup, but not if keydown is defaultPrevented
button-activate.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- button activation behaviour submits form
button-checkvalidity.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Forms
button-click-resets-with-commandfor.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- clicking a reset button should trigger a reset (with command attribute)
- clicking a button should trigger a reset (with commandfor attribute)
- clicking a button should trigger a reset (with command and commandfor attribute)
button-click-submits-with-commandfor.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- clicking a button (implicit type) should NOT trigger a submit (with command attribute)
- clicking a button (implicit type) should NOT trigger a submit (with commandfor attribute)
- clicking a button (implicit type) should NOT trigger a submit (with command and commandfor attribute)
- clicking a button (explicit type=submit) SHOULD trigger a submit (with command attribute)
- clicking a button (explicit type=submit) SHOULD trigger a submit (with commandfor attribute)
- clicking a button (explicit type=submit) SHOULD trigger a submit (with command and commandfor attribute)
button-click-submits.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- clicking a button with .click() should trigger a submit (form connected)
- clicking a button with .click() should not trigger a submit (form disconnected)
- clicking a button by dispatching an event should trigger a submit (form connected)
- clicking a button by dispatching an event should not trigger a submit (form disconnected)
- clicking a button that cancels the event should not trigger a submit
- clicking a disabled button (via disabled attribute) should not trigger submit
- clicking a disabled button (via ancestor fieldset) should not trigger submit
- clicking a button inside a disabled fieldset's legend *should* trigger submit
- clicking the child of a button with .click() should trigger a submit
- clicking the child of a button by dispatching a bubbling event should trigger a submit
- clicking the child of a button by dispatching a non-bubbling event should not trigger submit
- clicking the child of a disabled button with .click() should not trigger submit
button-events.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- The submit event must be fired when click a button in submit status
- The reset event must be fired when click a button in reset status
- type=button shouldn't trigger submit or reset events
- Switching from type=button to type=submit should submit the form
- Switching from type=button to type=reset should reset the form
- Innermost button should submit its form
- Innermost button should reset its form
- Anchor inside a button should be prevent button activation
- input type=submit inside a button should be prevent button activation
button-form-refers-to-elements-with-duplicate-ids-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-button-element/button-form-refers-to-elements-with-duplicate-ids-crash.html PASS none reported
No subtests were reported.
button-labels.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Forms
button-setcustomvalidity.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- button setCustomValidity is correct
button-submit-children.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- This test will pass if a form navigation successfully occurs when clicking a child element of a <button type=submit> element with a onclick event handler which prevents the default form submission and manually calls form.submit() instead.
- clicking a submit button, which calls form.submit and has a parent calling e.prevenDefault() should still submit the form
button-submit-remove-children-jssubmit.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- This test will pass if a form navigation successfully occurs when clicking a child element of a <button type=submit> element with a onclick event handler which removes the button's child and then calls form.submit().
button-submit-remove-children.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- This test will pass if a form navigation successfully occurs when clicking a child element of a <button type=submit> element with a onclick event handler which removes the button's child.
button-submit-remove-jssubmit.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- This test will pass if a form navigation successfully occurs when clicking a <button type=submit> element with a onclick event handler which removes the button and then calls form.submit().
button-type-enumerated-ascii-case-insensitive.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- keyword reset
- keyword submit
button-type.html 4 / 5 passingChrome 3 / 51 failedWith failures
- ¶
FAILa button in auto state with a command or commandfor attribute should return button type
assert_equals: expected "button" but got "submit"
4 passing subtests
- a button's type should be submit by default
- a button's type should stay within the range of valid values
- removing a button's type should make it return to auto state
- a button in auto state with a select element parent should return button type
button-untrusted-key-event.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Dispatching untrusted keypress events to submit button should not cause click event
- Dispatching untrusted keyup/keydown events to submit button should not cause click event
- Dispatching untrusted keypress events to reset button should not cause click event
- Dispatching untrusted keyup/keydown events to reset button should not cause click event
- Dispatching untrusted keypress events to button button should not cause click event
- Dispatching untrusted keyup/keydown events to button button should not cause click event
button-validation.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- missing type attribute
- submit type attribute
- reset type attribute
- button type attribute
- historical menu type attribute
- invalid type attribute
button-validationmessage.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Forms
button-validity.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Forms
button-willvalidate-readonly-attribute.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Button element with "readonly" attribute shouldn't be barred from constraint validation
button-willvalidate.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Forms