html/semantics/interactive-elements/the-dialog-element/

326 / 373 WPT subtests passing

Failed
46
Timed out
1
Not run
0
Test files
82
Blocking files
0

Chrome 342 / 373 WPT subtests passing on the same files, 1 blocking, 18 without a result

Tests

82 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
child-sequential-focus.html5 / 5 passingChrome 1 / 50 failedClean
Standing
Clean runner status OK
Chrome
With failures 1 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. dialog element with autofocus should get initial focus.
  2. Only keyboard-focusable elements should get dialog initial focus.
  3. Autofocus takes precedence over keyboard-focusable requirement.
  4. Only keyboard-focusable elements should get dialog initial focus including in subtrees.
  5. Only keyboard-focusable elements should get dialog initial focus including in nested buttons.
default-color.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. <dialog> color and background match default
  2. <dialog> colors react to dark mode
dialog-active-document.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. showModal should throw when the document isn't active
dialog-audio-video-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-audio-video-crash.html PASS none reported

No subtests were reported.

dialog-autofocus-just-once.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. An autofocus element in a dialog element should not try to get focus twice.
dialog-autofocus-multiple-times.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. autofocus is run every time a dialog is opened
dialog-autofocus.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. autofocus when a modal dialog is opened
dialog-cancel-events.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. Test cancel event is fired when the dialog is closed by user close requests
dialog-cancel-preventDefault.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. Test cancel event with preventDefault on cancel event for dialog element
dialog-cancel-with-input.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. Test dialog modal is closed by escape key with input focused
dialog-cancel-with-select.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. Test dialog modal is closed by escape key with select focused
dialog-canceling.html1 / 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. Modal dialogs should close when the escape key is pressed.
dialog-close-event-async.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. close() fires a close event
dialog-close-event.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. Test that dialog receives a close event upon closing.
dialog-close.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. close() fires a close event
  2. close() on a <dialog> that doesn't have an open attribute aborts the steps
  3. close() removes the open attribute and set the returnValue to the first argument
  4. close() without argument removes the open attribute and there's no returnValue
  5. close() should set the returnValue IDL attribute but not the JS property
dialog-closedby-corner-cases.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. Pressing escape, when focusin removes and reinserts, modeless
  2. Clicking outside, when focusin removes and reinserts, modeless
  3. Pressing escape, when focusin closes dialog, modeless
  4. Clicking outside, when focusin closes dialog, modeless
  5. Pressing escape, when focusin calls showModal, modeless
  6. Clicking outside, when focusin calls showModal, modeless
  7. Pressing escape, when beforetoggle closes dialog, modeless
  8. Clicking outside, when beforetoggle closes dialog, modeless
  9. Pressing escape, when beforetoggle calls showModal, modeless
  10. Clicking outside, when beforetoggle calls showModal, modeless
  11. Pressing escape, when focusin removes and reinserts, modal
  12. Clicking outside, when focusin removes and reinserts, modal
  13. Pressing escape, when focusin closes dialog, modal
  14. Clicking outside, when focusin closes dialog, modal
  15. Pressing escape, when focusin calls showModal, modal
  16. Clicking outside, when focusin calls showModal, modal
  17. Pressing escape, when beforetoggle closes dialog, modal
  18. Clicking outside, when beforetoggle closes dialog, modal
  19. Pressing escape, when beforetoggle calls showModal, modal
  20. Clicking outside, when beforetoggle calls showModal, modal
  21. Pressing escape, when focusin removes and reinserts, open
  22. Clicking outside, when focusin removes and reinserts, open
  23. Pressing escape, when focusin closes dialog, open
  24. Clicking outside, when focusin closes dialog, open
  25. Pressing escape, when focusin calls showModal, open
  26. Clicking outside, when focusin calls showModal, open
  27. Pressing escape, when beforetoggle closes dialog, open
  28. Clicking outside, when beforetoggle closes dialog, open
  29. Pressing escape, when beforetoggle calls showModal, open
  30. Clicking outside, when beforetoggle calls showModal, open
dialog-closedby-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-closedby-crash.html PASS none reported

No subtests were reported.

dialog-closedby-show-stacked.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. With an inner closedby=none, the outer & inner dialogs stays open when Esc is pressed
  2. With an inner closedby=none, the outer & inner dialogs stays open when clicked outside
  3. With an inner closedby=any, the outer dialog stays open but the inner dialogs should close, when Esc is pressed
  4. With an inner closedby=any, the outer dialog stays open but the inner dialogs should close, when clicked outside
dialog-closedby-start-open.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. Dialogs that start open and have closedby should still function
  2. Opening and closing a dialog during the dialog focus fixup should still leave closedby functional
dialog-closedby.html27 / 27 passingChrome 27 / 270 failedClean
Standing
Clean runner status OK
Chrome
Clean 27 / 27 WPT subtests passing runner status OK
27 passing subtests
  1. closedby=any, modeless
  2. closedby=any, modal
  3. closedby=any, open
  4. closedby=closerequest, modeless
  5. closedby=closerequest, modal
  6. closedby=closerequest, open
  7. closedby=none, modeless
  8. closedby=none, modal
  9. closedby=none, open
  10. closedby=AnY, modeless
  11. closedby=AnY, modal
  12. closedby=AnY, open
  13. closedby=ClOsErEqUeSt, modeless
  14. closedby=ClOsErEqUeSt, modal
  15. closedby=ClOsErEqUeSt, open
  16. closedby=NoNe, modeless
  17. closedby=NoNe, modal
  18. closedby=NoNe, open
  19. closedby=invalid, modeless
  20. closedby=invalid, modal
  21. closedby=invalid, open
  22. closedby=, modeless
  23. closedby=, modal
  24. closedby=, open
  25. closedby=null, modeless
  26. closedby=null, modal
  27. closedby=null, open
dialog-closewatcher-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-closewatcher-crash.html PASS none reported

No subtests were reported.

dialog-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. The DIALOG element should be recognized
dialog-focus-previous-outside.html5 / 6 passingChrome 6 / 61 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
  1. FAILFocus restore should occur when the focused element is slotted into a dialog.
    assert_equals: expected Element node <button id="b2">button 2</button> but got Element node <button id="host2button">button</button>
5 passing subtests
  1. Focus should not be restored if the currently focused element is not inside the dialog.
  2. Focus restore should not occur when the focused element is in a shadowroot outside of the dialog.
  3. Focus restore should occur when the focused element is in a shadowroot inside the dialog.
  4. Focus restore should always occur for modal dialogs.
  5. Focus restore should work when the dialog itself is focused.
dialog-focus-shadow-double-nested.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. show()
  2. showModal()
dialog-focus-shadow.html50 / 50 passingChrome 26 / 500 failedClean
Standing
Clean runner status OK
Chrome
With failures 26 / 50 WPT subtests passing runner status OK
50 passing subtests
  1. show: No autofocus, no delegatesFocus, no siblings
  2. showModal: No autofocus, no delegatesFocus, no siblings
  3. show: No autofocus, no delegatesFocus, sibling before
  4. showModal: No autofocus, no delegatesFocus, sibling before
  5. show: No autofocus, no delegatesFocus, sibling after
  6. showModal: No autofocus, no delegatesFocus, sibling after
  7. show: No autofocus, yes delegatesFocus, no siblings
  8. showModal: No autofocus, yes delegatesFocus, no siblings
  9. show: No autofocus, yes delegatesFocus, sibling before
  10. showModal: No autofocus, yes delegatesFocus, sibling before
  11. show: No autofocus, yes delegatesFocus, sibling after
  12. showModal: No autofocus, yes delegatesFocus, sibling after
  13. show: Autofocus before, no delegatesFocus
  14. showModal: Autofocus before, no delegatesFocus
  15. show: Autofocus before, yes delegatesFocus
  16. showModal: Autofocus before, yes delegatesFocus
  17. show: Autofocus after, no delegatesFocus
  18. showModal: Autofocus after, no delegatesFocus
  19. show: Autofocus after, yes delegatesFocus
  20. showModal: Autofocus after, yes delegatesFocus
  21. show: Autofocus on shadow host, yes delegatesFocus, no siblings
  22. showModal: Autofocus on shadow host, yes delegatesFocus, no siblings
  23. show: Autofocus on shadow host, yes delegatesFocus, sibling before
  24. showModal: Autofocus on shadow host, yes delegatesFocus, sibling before
  25. show: Autofocus on shadow host, yes delegatesFocus, sibling after
  26. showModal: Autofocus on shadow host, yes delegatesFocus, sibling after
  27. show: Autofocus on shadow host, no delegatesFocus, no siblings
  28. showModal: Autofocus on shadow host, no delegatesFocus, no siblings
  29. show: Autofocus on shadow host, no delegatesFocus, sibling before
  30. showModal: Autofocus on shadow host, no delegatesFocus, sibling before
  31. show: Autofocus on shadow host, no delegatesFocus, sibling after
  32. showModal: Autofocus on shadow host, no delegatesFocus, sibling after
  33. show: Autofocus inside shadow tree, yes delegatesFocus, no siblings
  34. showModal: Autofocus inside shadow tree, yes delegatesFocus, no siblings
  35. show: Autofocus inside shadow tree, yes delegatesFocus, sibling before
  36. showModal: Autofocus inside shadow tree, yes delegatesFocus, sibling before
  37. show: Autofocus inside shadow tree, yes delegatesFocus, sibling after
  38. showModal: Autofocus inside shadow tree, yes delegatesFocus, sibling after
  39. show: Autofocus inside shadow tree, no delegatesFocus, no siblings
  40. showModal: Autofocus inside shadow tree, no delegatesFocus, no siblings
  41. show: Autofocus inside shadow tree, no delegatesFocus, sibling before
  42. showModal: Autofocus inside shadow tree, no delegatesFocus, sibling before
  43. show: Autofocus inside shadow tree, no delegatesFocus, sibling after
  44. showModal: Autofocus inside shadow tree, no delegatesFocus, sibling after
  45. show: Two shadow trees, both delegatesFocus, first tree doesn't have autofocus element, second does
  46. showModal: Two shadow trees, both delegatesFocus, first tree doesn't have autofocus element, second does
  47. show: No autofocus, no delegatesFocus, slotted target
  48. showModal: No autofocus, no delegatesFocus, slotted target
  49. show: Shadowroot on child, no autofocus, no delegatesFocus
  50. showModal: Shadowroot on child, no autofocus, no delegatesFocus
dialog-focusability.html0 / 1 passingChrome 1 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

Crane's sequential focus reaches the open dialog element itself at step 2 before its first button, as Firefox and Safari do (the same focus-order mismatch); only Chrome skips the dialog

Crane matches
Firefox, Safari
Chrome
wpt.fyi run 4786307730243584: 1/1 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
Revisit
when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
  1. FAILThe dialog element itself should not be keyboard focusable.
    assert_equals: Focus order mismatch at step 2/11 expected Element node <button id="within1">button</button> but got Element node <dialog id="dialog1" open="">
      <button id="within1">butt...
dialog-focusing-steps-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. dialog.show(): focusing steps should not change focus on disconnected <dialog>
  2. dialog.showModal() should throw on disconnected <dialog>
dialog-focusing-steps-inert.html1 / 2 passingChrome 1 / 21 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 1 / 2 WPT subtests passing runner status OK
  1. FAILdialog.showModal(): focusing steps should apply focus fixup rule when dialog is inert
    assert_equals: dialog.showModal(): focusing steps should apply focus fixup rule when dialog is inert expected Element node <body>
    <input id="outer-input">
    <dialog inert="" open="">... but got Element node <input id="outer-input"></input>
1 passing subtest
  1. dialog.show(): focusing steps should not change focus when dialog is inert
dialog-focusing-steps-prevent-autofocus.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. After showing a dialog, non-dialog autofocus processing won't work.
dialog-form-submission-unusual.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 form's action and rel=noopener are ignored during submission
  2. A form's action and rel=noopener are ignored during submission, part 2
dialog-form-submission.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. click the form submission button should close the dialog
  2. form submission should return correct value
  3. returnValue doesn't update when there's no value attribute.
  4. returnValue does update when there's an empty value attribute.
  5. input image button should return the coordinates
  6. formmethod attribute should use dialog form submission
  7. closing the dialog while submitting should stop the submission
  8. calling form.submit() in click handler of submit button should start the submission synchronously
dialog-insert-disconnected-node-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-insert-disconnected-node-crash.html PASS none reported

No subtests were reported.

dialog-keydown-preventDefault.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. Test cancel event with preventDefault on keydown event for dialog element
dialog-light-dismiss-drag.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. Dialog should not light dismiss when clicking inside the dialog and dragging outside of it.
dialog-no-throw-requested-state.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. dialog-no-throw-requested-state
dialog-not-in-tree-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-not-in-tree-crash.html PASS none reported

No subtests were reported.

dialog-open-2.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. Tests that dialog is visible after show() is called and not visible after close() is called.
dialog-open-add-closedby-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-open-add-closedby-crash.html PASS none reported

No subtests were reported.

dialog-open-movebefore-setup.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. reparenting a dialog should not cause it to move in the open dialogs list
dialog-open.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. On getting, the IDL open attribute must return true if the content open attribute is set, and false if it is absent.
  2. On setting, the content open attribute must be removed if the IDL open attribute is set to false, and must be present if the IDL open attribute is set to true.
  3. On setting it to false, the close event should not be fired
dialog-overlay.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. dialog computed overlay initially 'none'
  2. Opening and closing a modal dialog changes computed overlay to 'auto' and back to 'none'
dialog-popover-closedby-complex.html4 / 40 passingChrome 40 / 4036 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 40 / 40 WPT subtests passing runner status OK
  1. FAILclicking popoverB with modeless dialogA and modeless dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  2. FAILclicking dialogB with modeless dialogA and modeless dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  3. FAILclicking popoverA with modeless dialogA and modeless dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  4. FAILclicking dialogA with modeless dialogA and modeless dialogB, normal DOM nesting
    assert_equals: dialogA should be open expected true but got false
  5. FAILclicking outside all with modeless dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  6. FAILclicking popoverB with modeless dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  7. FAILclicking dialogB with modeless dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  8. FAILclicking popoverA with modeless dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  9. FAILclicking dialogA with modeless dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  10. FAILclicking popoverB with modal dialogA and modeless dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  11. FAILclicking dialogB with modal dialogA and modeless dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  12. FAILclicking popoverA with modal dialogA and modeless dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  13. FAILclicking dialogA with modal dialogA and modeless dialogB, normal DOM nesting
    assert_equals: dialogA should be open expected true but got false
  14. FAILclicking outside all with modal dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  15. FAILclicking popoverB with modal dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  16. FAILclicking dialogB with modal dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  17. FAILclicking popoverA with modal dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  18. FAILclicking dialogA with modal dialogA and modal dialogB, normal DOM nesting
    assert_equals: popoverA should be open expected true but got false
  19. FAILclicking popoverB with modeless dialogA and modeless dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  20. FAILclicking dialogB with modeless dialogA and modeless dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  21. FAILclicking popoverA with modeless dialogA and modeless dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  22. FAILclicking dialogA with modeless dialogA and modeless dialogB, same structure, but with shadow DOM slots
    assert_equals: dialogA should be open expected true but got false
  23. FAILclicking outside all with modeless dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  24. FAILclicking popoverB with modeless dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  25. FAILclicking dialogB with modeless dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  26. FAILclicking popoverA with modeless dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  27. FAILclicking dialogA with modeless dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  28. FAILclicking popoverB with modal dialogA and modeless dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  29. FAILclicking dialogB with modal dialogA and modeless dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  30. FAILclicking popoverA with modal dialogA and modeless dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  31. FAILclicking dialogA with modal dialogA and modeless dialogB, same structure, but with shadow DOM slots
    assert_equals: dialogA should be open expected true but got false
  32. FAILclicking outside all with modal dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  33. FAILclicking popoverB with modal dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  34. FAILclicking dialogB with modal dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  35. FAILclicking popoverA with modal dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
  36. FAILclicking dialogA with modal dialogA and modal dialogB, same structure, but with shadow DOM slots
    assert_equals: popoverA should be open expected true but got false
4 passing subtests
  1. clicking outside all with modeless dialogA and modeless dialogB, normal DOM nesting
  2. clicking outside all with modal dialogA and modeless dialogB, normal DOM nesting
  3. clicking outside all with modeless dialogA and modeless dialogB, same structure, but with shadow DOM slots
  4. clicking outside all with modal dialogA and modeless dialogB, same structure, but with shadow DOM slots
dialog-popover-closedby-simple.html0 / 6 passingChrome 6 / 66 failedExempt
Standing
Exempt runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a renderer answers geometry

every click is geometry: popover-utils clickOn() clicks the centre of element.getBoundingClientRect(), which with no renderer is a 0x0 rect at (0,0), so "clicking on" the popover or the dialog lands outside both and light-dismisses what the test means to click inside; all six subtests fail at their first click assertion. Their Escape steps are not geometry and pass on their own: tests/wpt/crane/blk2-dialog-popover-closedby-escape.html runs the same six setups and Escape sequences (with test_driver.bless() for the user activation the upstream clicks give) - 6/6 on blk2-l-bins/r4

Failing assertion
assert_true: clicking on popover should always leave everything open expected true got false (3 subtests); assert_true: clicking on dialog should always leave everything open / popover should stay open expected true got false (3 subtests)
  1. FAILDialog closedby=any parent, popover child
    assert_true: clicking on popover should always leave everything open expected true got false
  2. FAILDialog closedby=closerequest parent, popover child
    assert_true: clicking on popover should always leave everything open expected true got false
  3. FAILDialog closedby=none parent, popover child
    assert_true: clicking on popover should always leave everything open expected true got false
  4. FAILPopover parent, dialog closedby=any child
    assert_true: clicking on dialog should always leave everything open expected true got false
  5. FAILPopover parent, dialog closedby=closerequest child
    assert_true: popover should stay open expected true got false
  6. FAILPopover parent, dialog closedby=none child
    assert_true: popover should stay open expected true got false
dialog-remove-open-attr-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-remove-open-attr-crash.html PASS none reported

No subtests were reported.

dialog-requestclose-2-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-requestclose-2-crash.html PASS none reported

No subtests were reported.

dialog-requestclose-2.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. requestClose() should not close the dialog when disconnected
dialog-requestclose-3-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-requestclose-3-crash.html PASS none reported

No subtests were reported.

dialog-requestclose-3.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. requestClose() should not close the dialog when is in inactive document
dialog-requestclose-4-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-requestclose-4-crash.html PASS none reported

No subtests were reported.

dialog-requestclose-5-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-requestclose-5-crash.html PASS none reported

No subtests were reported.

dialog-requestclose-6-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-requestclose-6-crash.html PASS none reported

No subtests were reported.

dialog-requestclose-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-requestclose-crash.html PASS none reported

No subtests were reported.

dialog-requestclose-recurse.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. Calling requestClose inside of cancel event handler doesn't trigger another cancel event
dialog-requestclose.html75 / 75 passingChrome 75 / 750 failedClean
Standing
Clean runner status OK
Chrome
Clean 75 / 75 WPT subtests passing runner status OK
75 passing subtests
  1. requestClose basic behavior for modeless dialog with closedby=null
  2. requestClose fires both cancel and close for modeless dialog with closedby=null
  3. closedby has no effect on dialog.requestClose() for modeless dialog with closedby=null
  4. requestClose can be cancelled for modeless dialog with closedby=null
  5. requestClose avoids abuse prevention logic for modeless dialog with closedby=null
  6. requestClose(returnValue) passes along the return value for modeless dialog with closedby=null
  7. requestClose(returnValue) doesn't change returnvalue when cancelled for modeless dialog with closedby=null
  8. requestClose basic behavior for modeless dialog with closedby=any
  9. requestClose fires both cancel and close for modeless dialog with closedby=any
  10. closedby has no effect on dialog.requestClose() for modeless dialog with closedby=any
  11. requestClose can be cancelled for modeless dialog with closedby=any
  12. requestClose avoids abuse prevention logic for modeless dialog with closedby=any
  13. requestClose(returnValue) passes along the return value for modeless dialog with closedby=any
  14. requestClose(returnValue) doesn't change returnvalue when cancelled for modeless dialog with closedby=any
  15. requestClose basic behavior for modeless dialog with closedby=closedrequest
  16. requestClose fires both cancel and close for modeless dialog with closedby=closedrequest
  17. closedby has no effect on dialog.requestClose() for modeless dialog with closedby=closedrequest
  18. requestClose can be cancelled for modeless dialog with closedby=closedrequest
  19. requestClose avoids abuse prevention logic for modeless dialog with closedby=closedrequest
  20. requestClose(returnValue) passes along the return value for modeless dialog with closedby=closedrequest
  21. requestClose(returnValue) doesn't change returnvalue when cancelled for modeless dialog with closedby=closedrequest
  22. requestClose basic behavior for modeless dialog with closedby=none
  23. requestClose fires both cancel and close for modeless dialog with closedby=none
  24. closedby has no effect on dialog.requestClose() for modeless dialog with closedby=none
  25. requestClose basic behavior for modal dialog with closedby=null
  26. requestClose fires both cancel and close for modal dialog with closedby=null
  27. closedby has no effect on dialog.requestClose() for modal dialog with closedby=null
  28. requestClose can be cancelled for modal dialog with closedby=null
  29. requestClose avoids abuse prevention logic for modal dialog with closedby=null
  30. requestClose(returnValue) passes along the return value for modal dialog with closedby=null
  31. requestClose(returnValue) doesn't change returnvalue when cancelled for modal dialog with closedby=null
  32. requestClose basic behavior for modal dialog with closedby=any
  33. requestClose fires both cancel and close for modal dialog with closedby=any
  34. closedby has no effect on dialog.requestClose() for modal dialog with closedby=any
  35. requestClose can be cancelled for modal dialog with closedby=any
  36. requestClose avoids abuse prevention logic for modal dialog with closedby=any
  37. requestClose(returnValue) passes along the return value for modal dialog with closedby=any
  38. requestClose(returnValue) doesn't change returnvalue when cancelled for modal dialog with closedby=any
  39. requestClose basic behavior for modal dialog with closedby=closedrequest
  40. requestClose fires both cancel and close for modal dialog with closedby=closedrequest
  41. closedby has no effect on dialog.requestClose() for modal dialog with closedby=closedrequest
  42. requestClose can be cancelled for modal dialog with closedby=closedrequest
  43. requestClose avoids abuse prevention logic for modal dialog with closedby=closedrequest
  44. requestClose(returnValue) passes along the return value for modal dialog with closedby=closedrequest
  45. requestClose(returnValue) doesn't change returnvalue when cancelled for modal dialog with closedby=closedrequest
  46. requestClose basic behavior for modal dialog with closedby=none
  47. requestClose fires both cancel and close for modal dialog with closedby=none
  48. closedby has no effect on dialog.requestClose() for modal dialog with closedby=none
  49. requestClose basic behavior for open dialog with closedby=null
  50. requestClose fires both cancel and close for open dialog with closedby=null
  51. closedby has no effect on dialog.requestClose() for open dialog with closedby=null
  52. requestClose can be cancelled for open dialog with closedby=null
  53. requestClose avoids abuse prevention logic for open dialog with closedby=null
  54. requestClose(returnValue) passes along the return value for open dialog with closedby=null
  55. requestClose(returnValue) doesn't change returnvalue when cancelled for open dialog with closedby=null
  56. requestClose basic behavior for open dialog with closedby=any
  57. requestClose fires both cancel and close for open dialog with closedby=any
  58. closedby has no effect on dialog.requestClose() for open dialog with closedby=any
  59. requestClose can be cancelled for open dialog with closedby=any
  60. requestClose avoids abuse prevention logic for open dialog with closedby=any
  61. requestClose(returnValue) passes along the return value for open dialog with closedby=any
  62. requestClose(returnValue) doesn't change returnvalue when cancelled for open dialog with closedby=any
  63. requestClose basic behavior for open dialog with closedby=closedrequest
  64. requestClose fires both cancel and close for open dialog with closedby=closedrequest
  65. closedby has no effect on dialog.requestClose() for open dialog with closedby=closedrequest
  66. requestClose can be cancelled for open dialog with closedby=closedrequest
  67. requestClose avoids abuse prevention logic for open dialog with closedby=closedrequest
  68. requestClose(returnValue) passes along the return value for open dialog with closedby=closedrequest
  69. requestClose(returnValue) doesn't change returnvalue when cancelled for open dialog with closedby=closedrequest
  70. requestClose basic behavior for open dialog with closedby=none
  71. requestClose fires both cancel and close for open dialog with closedby=none
  72. closedby has no effect on dialog.requestClose() for open dialog with closedby=none
  73. requestClose basic behavior when dialog is open via attribute
  74. requestClose fires cancel and close when dialog is open via attribute
  75. requestClose(returnValue) passes along the return value when dialog is open via attribute
dialog-return-value.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. Tests dialog.returnValue is settable and returns the last value set.
dialog-set-open-twice-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-set-open-twice-crash.html PASS none reported

No subtests were reported.

dialog-setup-cleanup-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-setup-cleanup-crash.html PASS none reported

No subtests were reported.

dialog-showModal-inert-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/dialog-showModal-inert-crash.html PASS none reported

No subtests were reported.

dialog-showModal-remove.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. dialog element: removing from document after showModal()
dialog-showModal.html9 / 10 passingChrome 9 / 101 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 9 / 10 WPT subtests passing runner status OK
  1. FAILwhen opening multiple dialogs, the most recently opened is rendered on top
    assert_equals: expected Element node <dialog id="d11" open=""></dialog> but got null
9 passing subtests
  1. dialog element: showModal()
  2. showModal() on a <dialog> that already has an open attribute throws an InvalidStateError exception
  3. showModal() on a <dialog> after initial showModal() and removing the open attribute
  4. showModal() on a <dialog> not in a Document throws an InvalidStateError exception
  5. when opening multiple dialogs, only the newest one is non-inert
  6. opening dialog without focusable children
  7. opening dialog with multiple focusable children
  8. opening dialog with multiple focusable children, one having the autofocus attribute
  9. When the document is not attached to any pages, showModal() should throw.
dialog-synthetic-keydown.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. close via synthesized Esc key must not work
dialog-toggle-source.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. ToggleEvent.source on <dialog> elements: dialog.showModal().
  2. ToggleEvent.source on <dialog> elements: command button.
  3. ToggleEvent.source on <dialog> elements: open with showModal, close with button.
  4. ToggleEvent.soruce on <dialog> elements: open with button, close with dialog.close().
  5. ToggleEvent.source on <dialog> elements: open with showModal, close with request-close button.
  6. ToggleEvent.source on <dialog> elements: open with button, close with light dismiss.
focus-after-close.html6 / 7 passingChrome 7 / 70 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Clean 7 / 7 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a renderer answers geometry

6 of 7 subtests pass; the 7th focuses a button positioned at top: innerHeight + 10px and waits for the scroll event focus() causes when it scrolls the button into view (documentElement.scrollTop > 0), then checks dialog.close() restores focus without scrolling; scrolling an element into view needs its layout box, and with no renderer focus() scrolls nothing, so the scroll event never comes and the file times out

Failing assertion
TIMEOUT: Focus should not scroll if the previously focused element is outside the viewport (6/7 pass)

/html/semantics/interactive-elements/the-dialog-element/focus-after-close.html TIMEOUT 6 / 7

  1. TIMEOUTFocus should not scroll if the previously focused element is outside the viewport
    Test timed out
6 passing subtests
  1. Focus should be moved to the previously focused element (Simple dialog usage)
  2. Focus should be moved to the previously focused element (Complex dialog usage)
  3. Focus should be moved to the previously focused element even if it has moved in between show/close
  4. Focus should be moved to the previously focused element even if it has moved to shadow DOM root in between show/close
  5. Focus should be moved to the body if the previously focused element is removed
  6. Focus should be moved to the shadow DOM host if the previouly focused element is a shadow DOM node
form-submit-dialog-shadow.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. <form method=dialog> should not submit across shadow boundaries.
inert-does-not-match-disabled-selector.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. Tests inert elements do not match the :disabled selector.
inert-focus-in-frames.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. Tests inert node focusing across frames and iframes.
inert-node-is-unfocusable.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. #html is not focusable
  2. #body is not focusable
  3. #top-dialog is focusable
  4. #top-dialog-button is focusable
  5. #bottom-dialog is not focusable
  6. #bottom-dialog-button is not focusable
  7. #container is not focusable
  8. #text is not focusable
  9. #datetime is not focusable
  10. #color is not focusable
  11. #select is not focusable
  12. #optgroup is not focusable
  13. #option is not focusable
  14. #contenteditable-div is not focusable
  15. #tabindex-span is not focusable
  16. #anchor is not focusable
inert-node-is-unselectable.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. Test that inert nodes cannot be selected. The test passes if the only text you can select is inside the dialog.
inertness-with-modal-dialogs-and-iframes.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. Initially, no node is inert
  2. Modal dialog in the outer iframe marks outer nodes in that iframe as inert.
  3. Modal dialog in the inner iframe marks outer nodes in that iframe as inert.
  4. Modal dialogs in both iframes mark outer nodes in these iframes as inert.
  5. Modal dialog in the main document marks outer nodes as inert. Contents of the outer iframe aren't marked as inert.
  6. Modal dialogs in the main document and inner iframe mark outer nodes as inert. Contents of the outer iframe aren't marked as inert.
  7. Modal dialogs in the main document and outer iframe mark outer nodes as inert. Contents of the outer iframe aren't marked as inert.
  8. Modal dialogs in the main document and both iframes mark outer nodes as inert. Contents of the outer iframe aren't marked as inert.
non-modal-canceling.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. Non-modal dialogs should not be cancelable via ESC
non-modal-dialog-does-not-block-mouse-events.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. Ensure that non-modal dialogs do not block mouse events.
remove-dialog-should-unblock-document.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. Test that removing dialog unblocks the document.
show-modal-focusing-steps.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. focus when a modal dialog is opened
showmodal-in-shadow-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/showmodal-in-shadow-crash.html PASS none reported

No subtests were reported.

showmodal-shadow-sibling-frame-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/interactive-elements/the-dialog-element/showmodal-shadow-sibling-frame-crash.html PASS none reported

No subtests were reported.

simulated-click-inert.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. Ensure that simulated click is still dispatched to an inert node.
submit-dialog-close-event.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. Tests submitting a dialog on a close event triggered by a previous submission.
synthetic-click-inert.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. Test that inert nodes still get programmatic click events
toggle-events.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. dialog.show() should fire beforetoggle and toggle events.
  2. dialog.show() should fire cancelable beforetoggle which does not open dialog if canceled
  3. dialog.show() should coalesce asynchronous toggle events.
  4. dialog.show() should not double-set open/close if beforetoggle re-opens
  5. dialog.show() should not open if beforetoggle removes
  6. dialog.show() should not open if beforetoggle calls showPopover
  7. dialog.showModal() should fire beforetoggle and toggle events.
  8. dialog.showModal() should fire cancelable beforetoggle which does not open dialog if canceled
  9. dialog.showModal() should coalesce asynchronous toggle events.
  10. dialog.showModal() should not double-set open/close if beforetoggle re-opens
  11. dialog.showModal() should not open if beforetoggle removes
  12. dialog.showModal() should not open if beforetoggle calls showPopover
top-layer-position.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. Verifies that position:static and position:relative computed to position:absolute in the top layer.
top-layer-removal-invalidates-ua-styles.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. Top layer UA styles stop applying once a dialog leaves the top layer

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.