WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
193775
Calling focus() on a text field selects all of its contents
https://bugs.webkit.org/show_bug.cgi?id=193775
Summary
Calling focus() on a text field selects all of its contents
Wenson Hsieh
Reported
2019-01-24 11:40:30 PST
This is different from behavior in Chrome/FF. In the attached test case, tap the "Click here…" text.
Attachments
Test case
(677 bytes, text/html)
2019-01-24 11:41 PST
,
Wenson Hsieh
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2019-01-24 11:41:12 PST
Created
attachment 360023
[details]
Test case
Wenson Hsieh
Comment 2
2019-01-24 15:09:49 PST
After writing a macOS test app, it seems that this was done to mirror the behavior when becoming first responder on an NSTextField in macOS.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug