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)

x86
Windows 98
defect

Tracking

()

RESOLVED DUPLICATE of bug 172896
Future

People

(Reporter: winterblue, Unassigned)

Details

(Keywords: testcase, Whiteboard: [awd:tbl][p3])

Attachments

(1 file)

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 !
Whiteboard: [awd:tbl][p3]
confimrming bug
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → mozilla1.2
Keywords: testcase
Solved in 1.3b
mass reassign to default owner
Assignee: karnaze → table
QA Contact: amar → madhur
Target Milestone: mozilla1.2alpha → ---
Priority: -- → P3
Target Milestone: --- → Future
-> P3:Future
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 ago22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: