Commit 7bd109b
Bug 2042924 [wpt PR 60193] - Improve selectedcontent parsing update for select multiple, a=testonly
Automatic update from web-platform-tests
Improve selectedcontent parsing update for select multiple
When a selected option element is done parsing, it triggers an update to
the selectedcontent element of the associated select element. In the
case of a select element with the multiple attribute, this could result
in many clones if multiple options have the selected attribute.
This change improves this by moving the selectedcontent update for
select elements with the multiple attribute from option end tag parsing
to select end tag parsing.
Context: whatwg/html#12430 (comment)
Bug: 483769482
Change-Id: I9ee8a2afe66884da26cbf814b80af7bf430414a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7856275
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1636613}
--
wpt-commits: 229f4c8b965b0fa27fee7167494173189163502b
wpt-pr: 601931 parent 90cea3f commit 7bd109b
1 file changed
Lines changed: 4 additions & 6 deletions
File tree
- testing/web-platform/tests/html/semantics/forms/the-select-element/customizable-select
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
| 405 | + | |
| 406 | + | |
411 | 407 | | |
412 | 408 | | |
413 | 409 | | |
| |||
431 | 427 | | |
432 | 428 | | |
433 | 429 | | |
| 430 | + | |
| 431 | + | |
434 | 432 | | |
435 | 433 | | |
436 | 434 | | |
| |||
0 commit comments