Closed Bug 50472 Opened 24 years ago Closed 24 years ago

height property on a nested table with percentages doesn't always work

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 32205

People

(Reporter: sjoerd, Assigned: pierre)

References

()

Details

(Keywords: css2)

Attachments

(1 file)

(There are a lot of bugs concerning height and tables, but I couldn't find one 
which addressed this problem. Please correct me if I'm wrong.)

Using CSS, height:100% (or any other percentage) doesn't work on a table that 
is nested inside another, and the height is not specified directly on the outer 
TD.

This sounds like a wrong interpretation of:
"If the height of the containing block is not specified explicitly (i.e., it 
depends on content height), the value is interpreted like 'auto'."
This sentence contradicts itself a little bit. 'not specified explicitly' is 
not the same as 'depends on content height'.

Current practice in other browsers (i.e. IE) is:
"If the height of the containing block depends on content height, the value is 
interpreted like 'auto'."

The attachment should make things clearer.
Attached file Examples of the bug.
Keywords: css2
Found the bug myself, sorry for the spam.
Now please take a look again at bug 32205.


*** This bug has been marked as a duplicate of 32205 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy dupe
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: