Vertical padding messes up height for elements with box-size: border-box

RESOLVED WORKSFORME

Status

()

Firefox
Untriaged
RESOLVED WORKSFORME
4 years ago
3 years ago

People

(Reporter: Ben Dwyer, Unassigned)

Tracking

35 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

485 bytes, text/html
Details
(Reporter)

Description

4 years ago
Created attachment 8553637 [details]
test.html

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36

Steps to reproduce:

I created a "border-box" element with a fixed height and set the padding to be greater than 50% of the height.


Actual results:

The height declaration was not respected.


Expected results:

The height declaration should have been respected, as it is when the padding is less than 50% of the height of the element. The attachment makes this obvious.
WFM on 45.0a1 (2015-12-14) Win 7
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.