Closed Bug 668444 Opened 13 years ago Closed 13 years ago

display: table-cell produces wrong height

Categories

(Core :: Layout, defect)

All
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 295315

People

(Reporter: jbrackett+bugzilla, Unassigned)

Details

(Keywords: css2, testcase)

Attachments

(1 file, 1 obsolete file)

404 bytes, text/html
Details
Attached file bug.html (obsolete) —
User Agent: Mozilla/5.0 (Windows NT 6.0; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110615151330

Steps to reproduce:

Set an element to display: table-cell with a specific height.


Actual results:

The height appears to be calculated incorrectly. See test case.


Expected results:

Calculate height correctly.  The height appears to be correct in IE9 and Chrome 12.
This may be related or a duplicate of 295315.
Attachment #543059 - Attachment mime type: text/plain → text/html
Attached file Shows bug
Previous attachment attached incorrectly as text/plain
Attachment #543059 - Attachment is obsolete: true
Attachment #543060 - Attachment mime type: text/plain → text/html
Attachment #543059 - Attachment is obsolete: false
Attachment #543059 - Attachment is obsolete: true
Component: General → Layout
Keywords: css2, testcase
Product: Firefox → Core
Looking in the DOM though Firebug it appears the height of the element with display: table-cell; is 198px instead of 200px.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: