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 here

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

Test fileSubtests passingChromeFailedStanding
active-onblur.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. Buttons should clear :active when the user tabs away from them while holding spacebar.
button-activate-keyup-prevented.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. Button activation submits on keyup, but not if keydown is defaultPrevented
button-activate.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. button activation behaviour submits form
button-checkvalidity.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. Forms
button-click-resets-with-commandfor.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. clicking a reset button should trigger a reset (with command attribute)
  2. clicking a button should trigger a reset (with commandfor attribute)
  3. clicking a button should trigger a reset (with command and commandfor attribute)
button-click-submits-with-commandfor.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. clicking a button (implicit type) should NOT trigger a submit (with command attribute)
  2. clicking a button (implicit type) should NOT trigger a submit (with commandfor attribute)
  3. clicking a button (implicit type) should NOT trigger a submit (with command and commandfor attribute)
  4. clicking a button (explicit type=submit) SHOULD trigger a submit (with command attribute)
  5. clicking a button (explicit type=submit) SHOULD trigger a submit (with commandfor attribute)
  6. clicking a button (explicit type=submit) SHOULD trigger a submit (with command and commandfor attribute)
button-click-submits.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. clicking a button with .click() should trigger a submit (form connected)
  2. clicking a button with .click() should not trigger a submit (form disconnected)
  3. clicking a button by dispatching an event should trigger a submit (form connected)
  4. clicking a button by dispatching an event should not trigger a submit (form disconnected)
  5. clicking a button that cancels the event should not trigger a submit
  6. clicking a disabled button (via disabled attribute) should not trigger submit
  7. clicking a disabled button (via ancestor fieldset) should not trigger submit
  8. clicking a button inside a disabled fieldset's legend *should* trigger submit
  9. clicking the child of a button with .click() should trigger a submit
  10. clicking the child of a button by dispatching a bubbling event should trigger a submit
  11. clicking the child of a button by dispatching a non-bubbling event should not trigger submit
  12. clicking the child of a disabled button with .click() should not trigger submit
button-events.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. The submit event must be fired when click a button in submit status
  2. The reset event must be fired when click a button in reset status
  3. type=button shouldn't trigger submit or reset events
  4. Switching from type=button to type=submit should submit the form
  5. Switching from type=button to type=reset should reset the form
  6. Innermost button should submit its form
  7. Innermost button should reset its form
  8. Anchor inside a button should be prevent button activation
  9. input type=submit inside a button should be prevent button activation
button-form-refers-to-elements-with-duplicate-ids-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/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.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. Forms
button-menu-historical.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. button.menu, the potentially-reflecting IDL attribute, does not exist
  2. button.type reflects properly
button-setcustomvalidity.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. button setCustomValidity is correct
button-submit-children.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. 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.
  2. 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.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. 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.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. 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.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. 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.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. keyword reset
  2. keyword submit
button-type.html4 / 5 passingChrome 3 / 51 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 3 / 5 WPT subtests passing runner status OK
  1. 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
  1. a button's type should be submit by default
  2. a button's type should stay within the range of valid values
  3. removing a button's type should make it return to auto state
  4. a button in auto state with a select element parent should return button type
button-untrusted-key-event.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. Dispatching untrusted keypress events to submit button should not cause click event
  2. Dispatching untrusted keyup/keydown events to submit button should not cause click event
  3. Dispatching untrusted keypress events to reset button should not cause click event
  4. Dispatching untrusted keyup/keydown events to reset button should not cause click event
  5. Dispatching untrusted keypress events to button button should not cause click event
  6. Dispatching untrusted keyup/keydown events to button button should not cause click event
button-validation.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. missing type attribute
  2. submit type attribute
  3. reset type attribute
  4. button type attribute
  5. historical menu type attribute
  6. invalid type attribute
button-validationmessage.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. Forms
button-validity.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. Forms
button-willvalidate-readonly-attribute.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. Button element with "readonly" attribute shouldn't be barred from constraint validation
button-willvalidate.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. Forms

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.