Skip to content

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

In the case that the select element is being restored after navigating
backwards and there is a mismatch between the restore state and the
current state of the select element, we should make the select element
use its default state instead of having no selected option because having
no selected option looks broken.

Fixed: 41360677
Change-Id: I7e6dced3e77687d5674bcb6d27e5278274d1737f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7522897
Reviewed-by: Kent Tamura <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1576590}

In the case that the select element is being restored after navigating
backwards and there is a mismatch between the restore state and the
current state of the select element, we should make the select element
use its default state instead of having no selected option because having
no selected option looks broken.

Fixed: 41360677
Change-Id: I7e6dced3e77687d5674bcb6d27e5278274d1737f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7522897
Reviewed-by: Kent Tamura <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1576590}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit a5b8afd into master Jan 29, 2026
20 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-6ed674d9e9 branch January 29, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants