Open Bug 907034 Opened 12 years ago Updated 3 years ago

display:moz-box giving wrong height when padding is applied.

Categories

(Core :: Layout, defect)

24 Branch
x86_64
Windows 8
defect

Tracking

()

People

(Reporter: javaddimaheshwar, Unassigned)

Details

(Keywords: testcase, Whiteboard: wontfix?)

Attachments

(1 file)

Attached file firefox_boxsize.htm
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36 Steps to reproduce: Container(switch) div element is given 'display:moz-box', padding 20% is given across all sides. Its child elements given min-height:27px. In Firefox container div's inner height is 533px rather it should be 31px. In Firefox, Padding is not applied to container div, rather padding is added to its inner height. Steps to reproduce 1) Open the test file firefox_boxsize.htm 2)Check height of green and red color box. Actual results: Expected Result Height of the boxes(on,off) should be 27px, rather it is 533px in Firefox. Expected results: Expected Result Height of the boxes(on,off) should be 27px, rather it is 533px in Firefox.
Attachment #792625 - Attachment mime type: text/plain → text/html
Confirmed on FF 23, 26
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Product: Firefox → Core
Keywords: testcase
I expect this is wontfix, since the XUL box model is in maintenance mode only and people shouldn't be using it....
Whiteboard: wontfix?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: