Closed
Bug 271387
Opened 20 years ago
Closed 19 years ago
Table cell children have wrongly computed percentage heights
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bugzilla1, Unassigned)
References
Details
Attachments
(1 file)
7.95 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041108 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041108 Firefox/1.0 See upcoming testcase. table>tr>td>img The <td> has no specified height and the <img> has a specified height of 100%. In my reading of CSS2.1, the <img> should have a computed height of auto, and not the height of the <td>. Min-height works as expected, and is included as a comparison. Gecko rendering is the same as IE-quirks. IE6 in standards mode displays the testcase as intended. Surely Gecko-standards should get this right as well? :-) Reproducible: Always Steps to Reproduce: 1.Load testcase (upcoming) 2.Compare to CSS2.1 rules on percentage heights of height:auto parents. Actual Results: The <img> has the wrong height. IE6 gets it right. Expected Results: Displayed height:100% the same as min-height:100% I've tested this in Mozilla 1.8a5 as well.
Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
I bet the third cell doesn't claim to have auto height, since its height is being forced by the first cell in the row...
looks like a valid bug in standards rendering
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 4•19 years ago
|
||
Testcase now works fine - the bug got silently fixed in the last 11 months.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•