Closed Bug 1912159 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 47522 - Delete selectlist-parts-structure test

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Delete selectlist-parts-structure test

  • "HTMLOptionElements (and not other element types) should receive
    option controller code" is not needed because the behavior attribute
    no longer exists.
  • "To receive option part controller code, an option must be a
    descendant of the listbox part in a flat tree traversal" is no longer
    relevant because it isn't possible to render a descendant \<option>
    outside of the listbox.
  • "To receive button part controller code, an element labeled as a
    button must not be a descendant of the listbox part in a flat tree
    traversal" is not relevant anymore because the behavior attribute is
    gone and there is no other way of explicitly labeling a button as the
    button which opens the listbox.
  • "To receive listbox part controller code, an element labeled as a
    listbox must not be a descendant of the button part in a flat tree
    traversal" is not relevant anymore because there is no behavior
    attribute or other way of specifying which \<datalist> is the listbox.
  • "Button controller code should be applied in flat tree traversal order
    regardless of dynamic insertion order" is not relevant anymore because
    we aren't using flat tree traversals anymore.
  • "Listbox controller code should be applied in flat tree traversal
    order regardless of dynamic insertion order" is not relevant anymore
    because we aren't using flat tree traversals anymore.
  • "selected-value controller code should be applied in flat tree
    traversal order regardless of dynamic insertion order" isn't relevant
    anymore because we aren't using flat tree traversals anymore.
  • "Ensure that controller code is applied when slot and part attributes
    are different" isn't relevant anymore since we aren't using slot or
    part attributes anymore.
  • "Ensure that controller code is synchronously applied" isn't relevant
    anymore since we don't have the behavior attribute anymore.
  • "Controller code should be updated when nested parts are removed"
    isn't relevant anymore since there is not behavior attribute and there
    is otherwise no way to nest the relevant elements which would get
    behaviors applied to them.
  • "Moving a selectlist between documents should keep controller code
    active" is not relevant because we aren't listening to lifecycle
    events which need to be transferred to the new document and the async
    MutationObserver which \<option> elements are using don't seem to need
    any special handling to be moved to the new document either.
  • "New parts should be detected even when in the subtree of an inserted
    node" is not relevant anymore because we don't have the behavior
    attribute anymore.

Bug: 335458492
Fixed: 40199394
Change-Id: I58607ffdd31b319b93f5bbb1bf79e979b880fc3d

Reviewed-on: https://chromium-review.googlesource.com/5770893
WPT-Export-Revision: e40e40cb578c3564b37eb1d4f8b28357ae1d2ca6

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0464dae46e19 [wpt PR 47522] - Delete selectlist-parts-structure test, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.