19434878: display: block
makes temporal input values vertically misaligned on iOS
#11226
Milestone
display: block
makes temporal input values vertically misaligned on iOS
#11226
Description
Summary:
In Safari for iOS 8.1, applying
display: block;
to temporal s, (i.e. s of type="date" , type="time" , type="datetime-local" , or type="month") causes the 's value text to become vertically top-aligned instead of vertically centered.This does not match the behavior of other browsers (specifically: OS X Firefox, OS X Chrome, and OS X Safari).
Steps to Reproduce:
display: block;
CSS style applied to it,has its text aligned to the top of the 's box.
Compare this to the 2nd in each section,
which has its default
display
left at its default value,and which has its text vertically centered within the 's box.
Expected Results:
All the s in the example should have their text vertically centered. See 2nd attached screenshot (taken in Chrome) that shows the correct behavior.
Actual Results:
All the s in the example should have their text vertically top-aligned.
Version:
iOS 8.1
Notes:
Firefox and OS X Safari behave the same as Chrome.
WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=139848
Original Bootstrap bug reports:
Configuration:
Attachments:
'safaribug.png' and 'correct_chrome.png' were successfully uploaded.
Product Version: iOS 8.1
Created: 2015-01-10T03:00:52.425225
Originated: 2015-01-09T00:00:00
Open Radar Link: http://www.openradar.me/19434878
The text was updated successfully, but these errors were encountered: