8000 servoshell: Select address bar text on click by MichaelMcDonnell · Pull Request #37839 · servo/servo · GitHub
[go: up one dir, main page]

Skip to content

Conversation

MichaelMcDonnell
Copy link
Contributor

In Firefox, clicking on the address bar selects all the text. This makes Servo to do the same. I reworked the code so that the shortcut only changes the focus. That means that either clicking or the shortcut changes the focus which in turn selects the text.

Testing: I tested it manually by clicking in the address bar and using the shortcuts and noticing that the text was selected.

In Firefox, clicking on the address bar selects all the text. This
makes Servo to do the same. I reworked the code so that the shortcut
only changes the focus. That means that either clicking or the shortcut
changes the focus which in turn selects the text.

Signed-off-by: Michael Mc Donnell <michael@mcdonnell.dk>
@mrobinson mrobinson force-pushed the select-address-on-click branch from 394ccd9 to 9d47344 Compare July 3, 2025 13:27
@mrobinson mrobinson changed the title Select address bar text on click servoshell: Select address bar text on click Jul 3, 2025
@mrobinson mrobinson enabled auto-merge July 3, 2025 13:27
@mrobinson mrobinson added this pull request to the merge queue Jul 3, 2025
Merged via the queue into servo:main with commit e3baec4 Jul 3, 2025
22 checks passed
@MichaelMcDonnell MichaelMcDonnell deleted the select-address-on-click branch July 3, 2025 15:31
@MichaelMcDonnell
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0