WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
198959
input[type=date] with empty value has shrunken height
https://bugs.webkit.org/show_bug.cgi?id=198959
Summary
input[type=date] with empty value has shrunken height
roman.balaban
Reported
2019-06-18 03:33:29 PDT
The input[type=date] element with empty value has shrunken height on iOS. You can check this using this markup: <input type="date"> and the following CSS rule: input { -webkit-appearance: none; } See the
https://jsfiddle.net/go9b61L0/
example on iOS device.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-06-18 07:04:48 PDT
<
rdar://problem/51847712
>
Martijn Cuppens
Comment 2
2020-10-29 03:07:57 PDT
This is fixable by adding a height to the `::-webkit-date-and-time-value` pseudo element. ``` input::-webkit-date-and-time-value { height: 1.5em; } ``` This also happens to the `::-webkit-inner-spin-button` pseudo element as I noticed here (
https://opensource.apple.com/source/WebCore/WebCore-7602.4.6/css/html.css.auto.html
).
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