Closed Bug 1652905 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24595 - SELECT: The last selected OPTION should be selected when multiple selected OPTIONs are added by jQuery append().

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

SELECT: The last selected OPTION should be selected when multiple selected OPTIONs are added by jQuery append().

HTMLOptionElement::SetWasOptionInsertedCalled() had a silly bug.

Bug: 1105672
Change-Id: Ic70572f297969d44bbe8f3d55fe05af796397f19
Reviewed-on: https://chromium-review.googlesource.com/2298882
WPT-Export-Revision: 19e517845ea10f3dcff4ac1d62ee898377b08f66

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 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 4

Chrome

OK : 1
PASS: 3
FAIL: 1

Safari

OK : 1
PASS: 3
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0685c7578258
[wpt PR 24595] - SELECT: The last selected OPTION should be selected when multiple selected OPTIONs are added by jQuery append()., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.