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-02-25 07:14:23 +00:00
2026-03-06 05:21:01 +00:00
2026-02-21 05:24:42 +00:00
2026-02-21 08:44:18 +00:00
2026-02-15 15:30:27 +00:00
2026-03-06 19:02:14 +00:00
2026-02-12 15:17:30 +00:00
2026-02-12 15:17:30 +00:00
2026-03-07 06:16:33 +00:00
2026-03-04 21:54:26 +00:00
2026-02-22 13:22:33 +00:00
2026-03-02 20:35:37 +00:00
2026-02-27 13:17:33 +00:00
2026-03-06 20:02:37 +00:00
2026-02-25 07:14:23 +00:00
2026-03-06 07:14:49 +00:00
2026-03-05 08:58:59 +00:00
2026-02-25 21:25:32 +00:00
2026-02-25 10:29:10 +00:00
2026-03-06 19:25:33 +00:00
2026-02-12 15:17:30 +00:00
2026-02-04 08:15:12 +00:00
2026-02-12 15:17:30 +00:00
2026-02-25 12:35:52 +00:00
2026-02-14 10:03:25 +00:00
2026-02-14 10:03:25 +00:00
2026-01-10 08:05:49 +00:00
2026-03-06 20:02:37 +00:00
2025-11-24 22:41:45 +00:00
2026-02-20 10:47:43 +00:00
2026-02-07 19:53:00 +00:00
2026-02-20 18:42:50 +00:00
2026-02-09 17:34:03 +00:00
2026-01-09 10:09:45 +00:00
2026-03-06 19:25:33 +00:00
2026-02-12 15:17:30 +00:00
2026-02-25 21:40:39 +00:00
2026-03-06 19:25:33 +00:00
2026-02-22 22:21:44 +00:00
2026-02-12 15:17:30 +00:00
2025-12-19 09:01:08 +00:00
2026-02-24 19:24:46 +00:00
2026-02-21 10:57:43 +00:00
2026-02-28 06:53:07 +00:00
2026-03-04 06:44:39 +00:00
2026-01-27 15:46:54 +00:00
2026-03-03 14:22:25 +00:00
2026-03-05 14:58:30 +00:00
2026-03-06 08:47:15 +00:00
2026-02-23 09:29:59 +00:00
2026-03-02 18:35:02 +00:00
2026-01-16 10:17:55 +00:00
2026-01-10 08:05:49 +00:00
2026-02-25 07:14:23 +00:00
2026-02-10 11:42:02 +00:00
2026-03-06 19:25:33 +00:00
2026-03-06 19:25:33 +00:00
2026-02-02 08:25:54 +00:00
2026-02-25 12:02:18 +00:00
2026-01-10 08:05:49 +00:00
2025-12-05 07:23:32 +00:00
2026-01-27 18:09:01 +00:00
2026-02-12 15:17:30 +00:00
2026-02-12 15:17:30 +00:00
2026-02-25 07:14:23 +00:00
2025-12-05 07:23:32 +00:00
2025-12-05 07:23:32 +00:00
2026-01-10 08:05:49 +00:00
2026-01-10 08:05:49 +00:00
2026-02-26 08:41:41 +00:00
2026-03-06 09:58:33 +00:00
2026-03-06 20:02:37 +00:00
2026-03-06 20:02:37 +00:00
2026-02-25 10:34:21 +00:00
2026-02-20 15:50:46 +00:00
2026-02-20 16:03:21 +00:00
2026-03-03 08:27:53 +00:00
2025-12-05 07:23:32 +00:00
2025-12-05 07:23:32 +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-08 07:49:27 +00:00
2025-12-12 14:33:45 +00:00
2026-03-06 19:25:33 +00:00
2026-02-12 15:17:30 +00:00
2026-02-25 09:13:18 +00:00
2026-02-27 11:49:44 +00:00
2026-01-03 10:54:27 +00:00
2026-02-12 15:17:30 +00:00
2026-02-25 02:37:39 +00:00
2026-03-06 19:25:33 +00:00
2026-03-05 11:35:32 +00:00
2026-03-06 19:25:33 +00:00
2026-01-27 18:09:01 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-02-26 15:52:26 +00:00
2026-03-05 14:58:30 +00:00
2026-03-06 19:25:33 +00:00
2026-02-12 15:17:30 +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-02-20 16:03:21 +00:00
2026-02-23 13:05:21 +00:00
2026-03-06 20:02:37 +00:00
2026-01-10 08:05:49 +00:00
2026-02-21 05:24:42 +00:00
2026-02-12 15:17:30 +00:00
2026-02-17 13:15:24 +00:00
2026-02-21 05:24:42 +00:00
2026-03-06 19:25:33 +00:00
2026-02-27 13:17:33 +00:00
2026-01-03 10:54:27 +00:00
2026-02-25 09:13:18 +00:00
2025-12-27 16:33:26 +00:00
2026-01-10 08:05:49 +00:00
2026-02-12 15:17:30 +00:00
2026-01-10 08:05:49 +00:00
2026-03-05 19:38:44 +00:00
2026-02-22 09:26:15 +00:00
2026-02-20 16:03:21 +00:00
2026-01-10 08:05:49 +00:00
2026-02-12 15:17:30 +00:00
2026-01-23 15:38:57 +00:00
2026-02-12 15:17:30 +00:00
2026-01-23 15:38:57 +00:00
2026-03-06 19:02:14 +00:00
2026-02-28 08:38:32 +00:00
2026-02-25 07:14:23 +00:00
2025-12-05 07:23:32 +00:00
2025-12-21 12:45:43 +00:00
2025-12-05 07:23:32 +00:00
2025-12-05 07:23:32 +00:00
2026-03-06 07:14:49 +00:00
2026-02-26 11:52:36 +00:00
2026-02-12 15:17:30 +00:00
2026-02-12 15:17:30 +00:00
2026-02-12 15:17:30 +00:00
2025-12-12 14:33:45 +00:00
2026-02-12 15:17:30 +00:00
2026-01-03 10:54:27 +00:00
2026-03-06 19:25:33 +00:00
2026-03-06 19:25:33 +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-12 15:17:30 +00:00
2026-02-12 15:17:30 +00:00
2026-03-06 19:25:33 +00:00
2026-02-12 15:17:30 +00:00
2025-12-05 07:23:32 +00:00
2026-02-12 15:17:30 +00:00
2026-02-12 15:17:30 +00:00
2026-02-03 23:20:54 +00:00
2026-02-27 11:49:44 +00:00
2026-02-25 10:34:21 +00:00
2026-02-25 21:40:39 +00:00
2026-01-10 08:05:49 +00:00
2026-01-28 09:33:55 +00:00
2026-03-04 13:37:33 +00:00
2026-03-06 19:25:33 +00:00
2026-03-06 19:25:33 +00:00
2026-02-25 07:14:23 +00:00
2026-02-17 05:37:59 +00:00
2026-02-27 11:49:44 +00:00
2026-01-27 18:09:01 +00:00
2026-02-25 07:14:23 +00:00
2026-02-12 15:17:30 +00:00
2026-02-12 15:17:30 +00:00
2026-02-12 15:17:30 +00:00