Closed
Bug 1420824
Opened 7 years ago
Closed 5 years ago
input date time does not respect CSS rules for font-family
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: godchuanz, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171112125346
Steps to reproduce:
1. Create an input type="date" and input type="time" in HTML.
<input type="date"><input type="time">
2. Set the font-family in CSS (or inline styles).
input[type="date"], input[type="time"] {
font-family: Arial, sans-serif;
}
Actual results:
The inputs display with a monospace font.
Expected results:
The font should be set according to CSS.
Updated•7 years ago
|
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Updated•7 years ago
|
Priority: -- → P3
Comment 1•7 years ago
|
||
I was able to reproduce this in 57.0.4 (64-bit) OS X, but it seems to be fixed in nightly 59.0a1 (2018-01-22) (64-bit)
(In reply to Gareth Oakley from comment #1)
> I was able to reproduce this in 57.0.4 (64-bit) OS X, but it seems to be
> fixed in nightly 59.0a1 (2018-01-22) (64-bit)
Just checked and it also seems to be working in the Developer Edition / 59.0b2(64-bit) on Windows 10.
Comment 3•6 years ago
|
||
All good in FF 61.0.1 on Linux.
Thank you
![]() |
||
Comment 4•5 years ago
|
||
WFM as well, in current Nightly on Linux.
Comment 5•5 years ago
|
||
Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•