github web-platform-tests/wpt merge_pr_47998

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
6 months ago

Improve base-select initial focus

This patch checks to see if the selected option is focusable before
trying to focus it when opening the picker. It also chooses a fallback
option to focus in the case that the selected option is not focusable.

Fixed: 360357707
Change-Id: I1c2943f5492d4eb299f5b6e162e2c2c1df152851
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5825538
Commit-Queue: Joey Arhar jarhar@chromium.org
Reviewed-by: Traian Captan tcaptan@chromium.org
Cr-Commit-Position: refs/heads/main@{#1354889}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.