Closed Bug 306699 Opened 19 years ago Closed 19 years ago

Table incorrecly sized when all rows have display:none

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 272370

People

(Reporter: Terry.Ellison, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

When using DHTML to expose a single row in a table, the tables size grows 
linearly with row switches.  This behaviour is not seen in MSIE.  I've 
attached a test case.  Table resizing (trimming) seems to work except when 
number of rows displayed goes from 1 to 0, which is a bit dire when you are 
toggling 0 to 1 rows displayed.

Reproducible: Always

Steps to Reproduce:
1. Run test case an follow instructions
2.
3.

Actual Results:  
Tables grows, exciting various other previously reported errors.

Expected Results:  
It should toggle within given bounds

I have adopted a workaround of using <div> sections within a single table 
cell, and toggling the style.display property on this element instead.  This 
works as expected on both Mozilla and MSIE.
Attached file HTML Test Case
By the way, ignore the fact that I logged this report using MSIE.  CTOs have 
to comply with company standards when going out through company firewalls :)
this is related to bug 97506, bug 156888, bug 245748 and maybe others.
Which is duplicate of what?
Bug 272370 sounds like a good one.

*** This bug has been marked as a duplicate of 272370 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 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: