Closed Bug 268394 Opened 20 years ago Closed 20 years ago

additional space is not freed when closing TR element

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 97506

People

(Reporter: benoit.casoetto+mozilla, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.3) Gecko/20041027 Firefox/1.0RC1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.5) Gecko/20041107Firefox/1.0

In this example, we are using javascript to open and close elements (like
menus). For this matter, we alternatively use 
  <TR style="display:none">
and
  <TR style="display:inline">

This causes the space taken by the menu to grow over and over.

Reproducible: Always
Steps to Reproduce:
Click four times on "Always Visible". 
Actual Results:  
The space between "Always visible" and "Always visible2" has grown unexpectedly.

Expected Results:  
The space between "Always visible" and "Always visible2" should have disappeared
when closing the element.
Default value of TR is table-row, not block, but still, this is a bug, duping.

Toggle the values "none" and "" for a working cross-browser solution.

*** This bug has been marked as a duplicate of 97506 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.