WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
52520
Number, date and other input elements using up/down control do not support placeholder text
https://bugs.webkit.org/show_bug.cgi?id=52520
Summary
Number, date and other input elements using up/down control do not support pl...
Adam M-W
Reported
2011-01-15 15:16:40 PST
Number, date and other input elements using up/down control do not support placeholder text e.g. <input type="date" placeholder="yyyy-mm-dd" /> will not display the placeholder text when it is supposed to. Standard text fields with type="text", type="tel" and type="email" work correctly.
Attachments
Add attachment
proposed patch, testcase, etc.
David Lowry
Comment 1
2011-06-03 06:29:41 PDT
Similar problem, related I image. Mac Snow Leopard / Safari (latest 5.0.5) when you use a number field (html5 input type) with a placeholder value and click the Spinner button, it miscalculates and outputs -1.7976931348623157e+308 (given placeholder of 4). This did not happen in Mac Chrome latest (as Chrome did not display the placeholder text). See exact code of the input box here —
http://pastie.org/2012693
Kent Tamura
Comment 2
2011-07-01 01:23:29 PDT
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
Some types have no placeholder support according to the standard. The standard was recently updated so that type=number supported placeholder. So we have added type=number support very recently.
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