Jacob Adam W.
d6fdd30c19
script: Implement HTMLSelectElement.selectedOptions ( #43017 )
...
This introduces a `CollectionSource` trait as an alternative to
`CollectionFilter` in `HTMLCollection`, allowing collections to provide
elements directly via a custom iterator rather than filtering a full
subtree traversal, which would otherwise be rather inefficient for
smaller iterable sequences of options that can be determined without
traversing the whole subtree again.
The newly implemented `selectedOptions` attribute on the `<select>`
element uses this to iterate only the element's list of options that are
marked as selected.
Testing: 14 assertions in the existing WPT went from failing to passing.
Fixes #15522 .
---------
Signed-off-by: Jacob Adam <software@jacobadam.net >
2026-03-07 06:16:33 +00:00
..
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-03-07 06:16:33 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-29 17:08:51 +00:00
2026-03-04 15:40:36 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-03-05 08:58:59 +00:00
2026-01-10 08:05:49 +00:00
2025-11-01 05:32:45 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 15:53:27 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-03-06 20:02:37 +00:00
2026-03-06 20:02:37 +00:00
2026-03-06 20:02:37 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-07 06:16:33 +00:00
2026-01-31 10:22:23 +00:00
2026-02-25 10:34:21 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2026-03-07 06:16:33 +00:00
2026-02-02 07:25:13 +00:00
2026-02-25 07:14:23 +00:00
2026-01-10 08:05:49 +00:00
2026-01-26 09:12:38 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-02-02 08:25:54 +00:00
2026-03-05 08:58:59 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2025-11-06 11:06:03 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-02-25 07:14:23 +00:00
2026-03-06 19:25:33 +00:00
2026-03-06 14:22:54 +00:00