[wpt-sync] Sync PR 63408 - Test moving element then using tree selects
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63408 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63408
Details from upstream follow.
Luke Warlow <lwarlow@igalia.com> wrote:
Test moving element then using tree selects
Also test for moving an element into a display none tree.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102612
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 68 tests and 1 subtests
Status Summary
Firefox
OK : 2[GitHub] 58[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 3[GitHub] 8[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 140[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 142[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 7[GitHub] 16[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 2
PASS: 10
Safari
OK : 2
FAIL: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /dom/nodes/moveBefore/custom-element-move-reactions.html [wpt.fyi]
- connectedMove runs when custom element is nested within a shadow root:
FAIL
- connectedMove runs when custom element is nested within a shadow root:
- /dom/nodes/moveBefore/moveBefore-child-list-selector-invalidation.html [wpt.fyi]
- :has(> .marked) on the old and new parents:
FAIL(Chrome:PASS, Safari:FAIL) - :empty on the old and new parents when moving an element:
FAIL(Chrome:PASS, Safari:FAIL) - :first-child on siblings in the old and new parents:
FAIL(Chrome:PASS, Safari:FAIL) - :last-child on siblings in the old and new parents:
FAIL(Chrome:PASS, Safari:FAIL) - :nth-child(2) on later siblings in the old and new parents:
FAIL(Chrome:PASS, Safari:FAIL) - :nth-last-child(2) on earlier siblings in the old and new parents:
FAIL(Chrome:PASS, Safari:FAIL) - .a + .b on the next siblings in the old and new parents:
FAIL(Chrome:PASS, Safari:FAIL)
- :has(> .marked) on the old and new parents:
- /dom/nodes/moveBefore/preserve-render-blocking-script.html [wpt.fyi]
- A moved script should keep its render-blocking state:
FAIL
- A moved script should keep its render-blocking state:
- /dom/nodes/moveBefore/preserve-render-blocking-style.html [wpt.fyi]
- A moved script should keep its render-blocking state:
FAIL
- A moved script should keep its render-blocking state:
- /dom/nodes/moveBefore/role-updates-after-move.html [wpt.fyi]
- header elements role should become sectionheader when moved into a section:
FAIL
- header elements role should become sectionheader when moved into a section:
- /dom/nodes/moveBefore/selection-preserve.html [wpt.fyi]
- moveBefore should not reset selection with preceding text:
FAIL - moveBefore resets selection that enters a subtree, when the whole selection is moved:
FAIL - moveBefore anchor node moved up to expand selection and absorb nodes:
FAIL - moveBefore focus node moved up to shrink selection and exclude nodes; focus node gets reset:
FAIL - moveBefore selection is not preserved, especially when underlying range gets inverted:
FAIL
- moveBefore should not reset selection with preceding text:
https://hg.mozilla.org/mozilla-central/rev/301967561937
https://hg.mozilla.org/mozilla-central/rev/59973d7dc868
Description
•