[wpt-sync] Sync PR 50857 - Improve <select> GetListItems descendant tracking
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50857 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50857
Details from upstream follow.
Joey Arhar <jarhar@chromium.org> wrote:
Improve <select> GetListItems descendant tracking
This patch improves and consolidates some tree traversal code for
invalidating HTMLSelectElement::GetListItems. \<option>, \<optgroup>,
and \<hr> elements won't be included in any of these traversals if they
are nested inside of an \<option>, an \<hr>, or inside nested \<optgroup>s.This also improves the OwnerSelectElement performance of
HTMLOptGroupElement and HTMLHRElement by caching the closest select
ancestor on insertion.Fixed: 396769395
Change-Id: Ib584f2914ee46b0206eebcb93ed9d41f0ae3796b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6279485
Reviewed-by: Traian Captan \<tcaptan@chromium.org>
Commit-Queue: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1422956}
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Comment 1•26 days ago
|
||
Assignee | ||
Comment 2•26 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 1
Chrome
OK
: 1
PASS
: 1
FAIL
: 1
Safari
OK
: 1
FAIL
: 1
TIMEOUT
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/forms/the-select-element/customizable-select/select-listitems-hr-crash.html [wpt.fyi]:
SKIP
(Chrome:PASS
, Safari:TIMEOUT
) - /html/semantics/forms/the-select-element/customizable-select/option-list.tentative.html [wpt.fyi]
- select's option list should not include descendants of options, hrs, or nested optgroups.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- select's option list should not include descendants of options, hrs, or nested optgroups.:
Tests Disabled in Gecko Infrastructure
- /html/semantics/forms/the-select-element/customizable-select/select-listitems-hr-crash.html [wpt.fyi]:
SKIP
(Chrome:PASS
, Safari:TIMEOUT
)
Comment 4•19 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/166087cfa3d4
https://hg.mozilla.org/mozilla-central/rev/f9d64369ce85
Description
•