Closed Bug 1723709 Opened 4 years ago Closed 4 years ago

Datetime inputs with explicit padding + height + line-height + border-box sizing look off.

Categories

(Core :: Layout: Form Controls, defect)

78 Branch
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(3 files, 1 obsolete file)

Attached file test-case (obsolete) —

See the attached test-case. The text is centered in Chromium / Webkit browsers.

Summary: Datetime inputs with explicit height + line-height look off. → Datetime inputs with explicit padding + height + line-height + border-box sizing look off.
Attached file Actual test-case.
Attachment #9234410 - Attachment is obsolete: true
Attachment #9234414 - Attachment mime type: text/plain → text/html

But use it when we're intrinsically sized. This matches other browsers.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Attached image time field mask.PNG

I attached the input time type mask. I think it's asking the seconds. I doesn't type it either. Only the hours and the second.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c418d16dccf1 Ignore line-height in the inside of the datetimebox when there's a fixed height specified. r=layout-reviewers,jfkthame
Severity: -- → S3
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: