Fail | dialog.show(): focusing steps should not change focus when dialog is inert | assert_equals: dialog.show(): focusing steps should not change focus when dialog is inert expected Element node <input id="outer-input"></input> but got Element node <body>
<input id="outer-input">
<dialog inert="" open="">... at test_focusing_steps_with_inert_dialog (https://wpt.live/html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:34:5)
at Test.<anonymous> (https://wpt.live/html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:40:3)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at test (https://wpt.live/resources/testharness.js:633:30)
at https://wpt.live/html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:39:1 Asserts runPass | assert_equals(Element node <input id="outer-input"></input>, Element node <input id="outer-input"></input>, "Focus should be on element we just focused")
at test_focusing_steps_with_inert_dialog ( /html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:17:3) | Pass | assert_false(false, "Dialog should initially be closed")
at test_focusing_steps_with_inert_dialog ( /html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:21:3) | Fail | assert_equals(Element node <body> <input id="outer-input"> <dialog inert="" open="">..., Element node <input id="outer-input"></input>, "dialog.show(): focusing steps should not change focus when dialog is inert")
at test_focusing_steps_with_inert_dialog ( /html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:34:5) |
|
Pass | dialog.showModal(): focusing steps should apply focus fixup rule when dialog is inert | Asserts runPass | assert_equals(Element node <input id="outer-input"></input>, Element node <input id="outer-input"></input>, "Focus should be on element we just focused")
at test_focusing_steps_with_inert_dialog ( /html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:17:3) | Pass | assert_false(false, "Dialog should initially be closed")
at test_focusing_steps_with_inert_dialog ( /html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:21:3) | Pass | assert_equals(Element node <body> <input id="outer-input"> <dialog inert="" open="">..., Element node <body> <input id="outer-input"> <dialog inert="" open="">..., "dialog.showModal(): focusing steps should apply focus fixup rule when dialog is inert")
at test_focusing_steps_with_inert_dialog ( /html/semantics/interactive-elements/the-dialog-element/dialog-focusing-steps-inert.html:29:5) |
|