Closed Bug 1125073 Opened 9 years ago Closed 9 years ago

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

Categories

(Firefox :: Untriaged, defect)

35 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ben, Unassigned)

Details

Attachments

(1 file)

Attached file 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
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: