Date picker button appears to be wrapped in line breaks / new lines
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: jamie, Assigned: jfkthame)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Steps to reproduce:
Apply whitesapce: pre
to a date input element: <input type="date" style="white-space: pre"/>
Actual results:
The date picker button appeared to have a lot of vertical padding, which disappeared once the cascaded whitespace: pre
property was removed from the element.
Presumably there is whitespace around the calendar character in the source.
Expected results:
I wouldn't (and don't think others would) expect whitespace to appear before or after the button, or affect it's position.
I acknowledge that it's probably pointless for whitespace: pre
to be applied directly to date inputs, but I don't think it's unlikely for that property to cascade from the parent element (such as a label), and it was quite difficult to figure out the cause.
Comment 1•16 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Updated•9 days ago
|
Assignee | ||
Comment 2•9 days ago
|
||
Updated•9 days ago
|
Comment 5•9 days ago
|
||
bugherder |
Description
•