Closed Bug 2095157 Opened 10 days ago Closed 8 days ago

[wpt-sync] Sync PR 65000 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=330928

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 65000 into mozilla-central (this bug is closed when the sync is complete).

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

Anne van Kesteren <annevk@annevk.nl> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=330928

WebKit export from bug: Queue the \<<!---->selectedcontent><!----> update from its insertion steps

<pre>
Queue the <selectedcontent> update from its insertion steps

A <selectedcontent> inserted after an <option> in the same insertion was
updated twice when its <select> had another <selectedcontent> or a pending
update. Its insertion steps now queue the update, and the post-connection
steps of the first inserted <option> or <selectedcontent> perform it, as
proposed for <a href="https://github.com/whatwg/html/pull/13005">https://github.com/whatwg/html/pull/13005</a>

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=330928">https://bugs.webkit.org/show_bug.cgi?id=330928</a>
</pre>

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

CI Results

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

Total 3 tests and 10 subtests

Status Summary

Firefox

OK : 3
PASS: 2
FAIL: 26

Chrome

OK : 3
PASS: 12
FAIL: 16

Safari

OK : 3
PASS: 19
FAIL: 9

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

  • /html/semantics/forms/the-select-element/customizable-select/selectedcontent-mutations.html [wpt.fyi]
    • MutationObserver records during parsing of <select> with <selectedcontent>: test1: FAIL (Chrome: PASS, Safari: PASS)
    • MutationObserver records during parsing of <select> with <selectedcontent>: test2: FAIL (Chrome: PASS, Safari: PASS)
    • MutationObserver records during parsing of <select> with <selectedcontent>: test3: FAIL (Chrome: FAIL, Safari: FAIL)
    • MutationObserver records during parsing of <select> with <selectedcontent>: test4: FAIL (Chrome: PASS, Safari: PASS)
    • MutationObserver records during parsing of <select> with <selectedcontent>: test5: FAIL (Chrome: PASS, Safari: PASS)
    • MutationObserver records during parsing of <select> with <selectedcontent>: test6: FAIL (Chrome: PASS, Safari: FAIL)
    • MutationObserver records during parsing of <select> with <selectedcontent>: test7: FAIL (Chrome: PASS, Safari: PASS)
    • MutationObserver records during parsing of <select> with <selectedcontent>: test8: FAIL (Chrome: FAIL, Safari: PASS)
  • /html/semantics/forms/the-select-element/customizable-select/selectedcontent-option-insertion.html [wpt.fyi]
    • Inserting a non-selected option does not replace selectedcontent children.: FAIL (Chrome: PASS, Safari: PASS)
    • Inserting an option that causes another option to be selected updates selectedcontent.: FAIL (Chrome: FAIL, Safari: PASS)
    • Inserting multiple options together updates selectedcontent once.: FAIL (Chrome: PASS, Safari: PASS)
    • Inserting selectedcontent followed by an option updates selectedcontent once.: FAIL (Chrome: FAIL, Safari: PASS)
    • Inserting an option followed by selectedcontent updates selectedcontent once.: FAIL (Chrome: FAIL, Safari: PASS)
    • Inserting selectedcontent followed by an option that changes selectedness updates every selectedcontent once.: FAIL (Chrome: FAIL, Safari: PASS)
    • Inserting a select that already contains options updates its selectedcontent once.: FAIL (Chrome: FAIL, Safari: PASS)
    • Inserting an option that changes selectedness followed by selectedcontent updates every selectedcontent once.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Inserting an option followed by selectedcontent while an update is pending updates the selectedcontent once.: FAIL (Chrome: PASS, Safari: FAIL)
  • /html/semantics/forms/the-select-element/customizable-select/selectedcontent-queued-update.html [wpt.fyi]
    • Removing an option that causes another option to be selected updates selectedcontent.: FAIL (Chrome: PASS, Safari: PASS)
    • Removing options queues a single update of selectedcontent.: FAIL (Chrome: FAIL, Safari: PASS)
    • A queued update of selectedcontent does nothing if it was updated in the meantime.: FAIL (Chrome: FAIL, Safari: PASS)
    • Inserting an option performs a pending update of selectedcontent.: FAIL (Chrome: FAIL, Safari: PASS)
    • Moving a selectedcontent element twice queues a single update.: FAIL (Chrome: FAIL, Safari: FAIL)
    • A queued update of a moved selectedcontent element does nothing if it was updated in the meantime.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Inserting selectedcontent performs a pending update of its select's selectedcontent elements.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Moving a selectedcontent element and removing the selected option queues a single update.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Moving a selectedcontent element into a select updates all of its selectedcontent elements.: FAIL (Chrome: FAIL, Safari: 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.