Closed
Bug 187025
Opened 23 years ago
Closed 22 years ago
table cell height wrong if td contains image
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: felix, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(4 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021210
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021210
If a td is assigned height x and it contains an image of size y with 0<y<x then
the cell is rendered with default height instead of height x.
Reproducible: Always
Steps to Reproduce:
Check the test case at: http://www.fbreuer.de/test.html
This page shows five tables containing one cell which in turn contain one 2x2
image each.
Actual Results:
Cells 1, 3, 4, 5 are displayed in default height.
Expected Results:
Cells 1-4 should have height 2, cell 5 should have height 5.
Comment 1•23 years ago
|
||
You incorrect. TD height could not be less than computed height of Line height.
Look at http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height. The
minimin computed value of line-hieght get from font properety, so 1, 2 and 5 is
bit small for it.
BTW, 2nd TD contains no blocks inside, so it is shrinked to 0. Others are
depends on line-height.
| Reporter | ||
Comment 3•23 years ago
|
||
The test document as rendered by Mozilla (i.e. Gecko Dec 10th, 2002).
Comment 4•22 years ago
|
||
URL works fine, but I see similar problem with another page
http://www.rt.mipt.ru/~eugen/xml_about.php
It works fine in 1.3b, but is broken in 1.3.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Comment 5•22 years ago
|
||
Comment 6•22 years ago
|
||
Comment 7•22 years ago
|
||
Comment 8•22 years ago
|
||
The URLs given on this bug are not accessible, so I've recreated testcases
from the description. The rendering is correct in all modes AFAICT.
Please reopen if I missed something.
-> WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•