[wpt-sync] Sync PR 63642 - Remove incorrect moveBefore() CHECK
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 63642 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63642
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Remove incorrect moveBefore() CHECK
ComputedStyle may exist after moveBefore() before the next lifecycle
update, not just while marking during the moveBefore().Bug: 573058979
Change-Id: I604d56820ef19637aab60194f600779d1b069ebd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8578259
Reviewed-by: Morten Stenshorne \<mstensho@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Auto-Submit: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Morten Stenshorne \<mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1718402}
| 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=105209
| 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 70 tests and 1 subtests
Status Summary
Firefox
OK : 59
PASS : 1[GitHub] 9[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 142[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 144[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 : 16
Chrome
CRASH: 1
Safari
PASS : 1
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 - :empty on the old and new parents when moving an element:
FAIL - :first-child on siblings in the old and new parents:
FAIL - :last-child on siblings in the old and new parents:
FAIL - :nth-child(2) on later siblings in the old and new parents:
FAIL - :nth-last-child(2) on earlier siblings in the old and new parents:
FAIL - .a + .b on the next siblings in the old and new parents:
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:
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•