Open Bug 568013 Opened 15 years ago Updated 3 years ago

table-layout:fixed ignores 100% height when cell has div with height 100%

Categories

(Core :: Layout: Tables, defect)

x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: teun, Unassigned)

Details

(Whiteboard: DUPEME)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 On a table with table-layout:fixed, when you have 1 row with a fixed height and another row with a div with height 100%, the table's height is more than 100%. Reproducible: Always Steps to Reproduce: 1. Open the attachment 2 [review]. Resize your window, make it small enough so that the content doesn't fit. 3. Pay attention to the overflow of the lower cell. Actual Results: The lower cell grows, thereby making the table higher than 100%. Expected Results: The lower cell (and its inner div) gets a height of 100% - 200px and the scrollbar is on the inner div, not the page. A recent Webkit/Safari build will display the expected behaviour.
Attached file test case
The question is what the min height of a table cell should be when no height is specified. This isn't covered by the CSS spec, and the webkit behavior causes issues in some cases... There are, I believe, existing bugs about this particular case.
Whiteboard: DUPEME
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: