WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
84641
Placeholder value should not be shown if an input element is focused.
https://bugs.webkit.org/show_bug.cgi?id=84641
Summary
Placeholder value should not be shown if an input element is focused.
Shinya Kawanaka
Reported
2012-04-23 15:18:16 PDT
Repro: <input type="text" placeholder="hoge"> and focus it. In firefox and opera, placeholder value disappears when an input is focused. As a user, I feel weird to see something is already inserted into an empty <input> when it's focused.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-04-23 16:27:32 PDT
This sounds like it could be an intentional design decision. Did you find out why WebKit behaves this way?
Shinya Kawanaka
Comment 2
2012-04-23 16:38:20 PDT
(In reply to
comment #1
)
> This sounds like it could be an intentional design decision. Did you find out why WebKit behaves this way?
Yeah... after filing this bug, I investigated the code and I found this seems an intentional design...
Shinya Kawanaka
Comment 3
2012-04-23 16:40:18 PDT
(In reply to
comment #1
)
> Did you find out why WebKit behaves this way?
At least, search input on iTunes has a placeholder and it doesn't disappear if focused.
Shinya Kawanaka
Comment 4
2012-05-16 02:04:37 PDT
Let me invalidate this bug for now. This was my misunderstanding.
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