Closed Bug 2091951 Opened 17 days ago Closed 8 days ago

[wpt-sync] Sync PR 64694 - Test form owners across tree mutations

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64694 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64694
Details from upstream follow.

Domenic Denicola <d@domenic.me> wrote:

Test form owners across tree mutations

Cover form-attribute reassociation for native inputs and form-associated custom elements after subtree removal, shadow-tree ID changes, and state-preserving moves within and across trees. Also cover custom controls as their shadow host connects or disconnects and their target form is removed or reinserted.

For FACEs, assert final ownership independently of custom-element callback ordering, which is blocked on https://github.com/whatwg/html/issues/13185.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 82 tests

Status Summary

Firefox

OK : 3[GitHub] 69[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: 11[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, GitHub] 282[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 284[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: 14

Chrome

OK : 3
PASS: 11

Safari

OK : 3
PASS: 4
FAIL: 7

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
  • /dom/nodes/moveBefore/role-updates-after-move.html [wpt.fyi]
    • header elements role should become sectionheader when moved into a section: FAIL
  • /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
  • /html/semantics/forms/form-control-infrastructure/form_attribute.html [wpt.fyi]
    • [BUTTON] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [FIELDSET] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [INPUT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [OBJECT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [OUTPUT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [SELECT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
    • [TEXTAREA] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists: FAIL
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.