Fail | when reparenting an element, don't automatically reset the document focus | new_parent.moveBefore is not a functionTypeError: new_parent.moveBefore is not a function
at Test.<anonymous> (https://wpt.live/dom/nodes/moveBefore/focus-preserve.html:34:16)
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/dom/nodes/moveBefore/focus-preserve.html:28:1 Asserts runPass | assert_equals(Element node <button id="button" tabindex="1">Button</button>, Element node <button id="button" tabindex="1">Button</button>)
at Test.<anonymous> ( /dom/nodes/moveBefore/focus-preserve.html:33:5) |
|
Fail | when reparenting a focused element into an inert parent, reset the document focus | promise_test: Unhandled rejection with value: object "TypeError: inert_parent.moveBefore is not a function"Error
at get_stack (https://wpt.live/resources/testharness.js:4571:21)
at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
at assert (https://wpt.live/resources/testharness.js:4548:19)
at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at https://wpt.live/resources/testharness.js:2689:35 Asserts runPass | assert_equals(Element node <button id="button" tabindex="1">Button</button>, Element node <button id="button" tabindex="1">Button</button>)
at Test.<anonymous> ( /dom/nodes/moveBefore/focus-preserve.html:44:5) |
|
Fail | when reparenting a focused element into a hidden parent, reset the document focus | promise_test: Unhandled rejection with value: object "TypeError: hidden_parent.moveBefore is not a function"Error
at get_stack (https://wpt.live/resources/testharness.js:4571:21)
at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
at assert (https://wpt.live/resources/testharness.js:4548:19)
at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at https://wpt.live/resources/testharness.js:2689:35 Asserts runPass | assert_equals(Element node <button id="button" tabindex="1">Button</button>, Element node <button id="button" tabindex="1">Button</button>)
at Test.<anonymous> ( /dom/nodes/moveBefore/focus-preserve.html:60:5) |
|
Fail | when reparenting an ancestor of an focused element into a hidden parent, reset the document focus | promise_test: Unhandled rejection with value: object "TypeError: hidden_parent.moveBefore is not a function"Error
at get_stack (https://wpt.live/resources/testharness.js:4571:21)
at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
at assert (https://wpt.live/resources/testharness.js:4548:19)
at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at https://wpt.live/resources/testharness.js:2689:35 Asserts runPass | assert_equals(Element node <button id="button" tabindex="1">Button</button>, Element node <button id="button" tabindex="1">Button</button>)
at Test.<anonymous> ( /dom/nodes/moveBefore/focus-preserve.html:77:5) |
|