WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 45940
46757
placeholder text doesn't disappear on inputs with autofocus
https://bugs.webkit.org/show_bug.cgi?id=46757
Summary
placeholder text doesn't disappear on inputs with autofocus
Kyle Fox
Reported
2010-09-28 15:17:55 PDT
First noticed in Version 5.0.1 (6533.17.8,
r68419
) Placeholder text does not disappear when the <input> element has the autofocus attribute (either short-hand or normal syntax). To reproduce: 1. Create a text input with the autofocus attribute and some placeholder text: <input type="text" placeholder="Your name" autofocus="true" /> 2. Focus on a different element (eg: click the page background or something). 3. Return focus to the input. You'll notice the placeholder text doesn't automatically disappear, and is now selectable. I created a demo page here (remember to click the background first):
http://dl.dropbox.com/u/780754/webkit_bug.html
I recorded a quick screencapture of this:
http://screenr.com/yB4
Attachments
Add attachment
proposed patch, testcase, etc.
Kyle Fox
Comment 1
2010-09-28 15:22:04 PDT
Similar to #45940
Kent Tamura
Comment 2
2010-09-28 16:41:32 PDT
*** This bug has been marked as a duplicate of
bug 45940
***
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