Closed
Bug 111720
Opened 23 years ago
Closed 22 years ago
table cell height does not match content height when shorten with overflow:hidden
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 172896
Future
People
(Reporter: winterblue, Unassigned)
Details
(Keywords: testcase, Whiteboard: [awd:tbl][p3])
Attachments
(1 file)
1.21 KB,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.6+) Gecko/20011123
BuildID: 20011123
A table cell is the same height whether content's height is reduce whith
overflow:hidden or not.
Reproducible: Always
Steps to Reproduce:
1.See HTML testcase
Actual Results: Cell height is the height of the most inner block
Expected Results: Cell height should be the height of the first inner (shorten)
block
<style type='text/css'>
.outerc { position:relative;display:block; overflow:hidden; width:500px;
height:20px; border:thin solid red}
.innerc { position:absolute;display:block; top:-10px; border:thin solid blue}
</style>
xxxxxxxxxxxxxxxxxxxxxxxxxx<br>
<table border=1><tr><td>TD</td><td>
<div class='outerc'><div class='innerc'>
ligne 1<br>ligne 2<br>ligne 3
</div></div>
</td></table>
xxxxxxxxxxxxxxxxxxxxxxxxxx
<div class='outerc'><div class='innerc'>
ligne 1<br>ligne 2<br>ligne 3
</div></div>
xxxxxxxxxxxxxxxxxxxxxxxxxx
Outside of a table the height is good.
If the 2 DIV have position:relative the cell height is good too !
Updated•23 years ago
|
Target Milestone: --- → mozilla1.2
Reporter | ||
Comment 3•22 years ago
|
||
Solved in 1.3b
Comment 4•22 years ago
|
||
mass reassign to default owner
Assignee: karnaze → table
QA Contact: amar → madhur
Target Milestone: mozilla1.2alpha → ---
Updated•22 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Comment 5•22 years ago
|
||
-> P3:Future
Reporter | ||
Comment 6•22 years ago
|
||
see comment #3
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
fixed should only be used when you know what fixed it.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
*** This bug has been marked as a duplicate of 172896 ***
Status: REOPENED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•