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)

57 Branch
defect

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.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Priority: -- → P3
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.
All good in FF 61.0.1 on Linux. Thank you

WFM as well, in current Nightly on Linux.

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.