Closed Bug 248286 Opened 20 years ago Closed 20 years ago

Tables using colspan is corrupted when dynamicly setting display to none|block

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 97506

People

(Reporter: mfa, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8

When creating a table with min. 2 rows where one of them are using colspan="NN",
then via JS setting style.display to none, then changing it back to block will
cause Moz to 'forget' about the colspan setting, and the table is corrupted...

Check the URL to see an example code which shows the problem...

Reproducible: Always
Steps to Reproduce:
1. Create a table with min. 2 rows, one using colspan
2. Change style.display to 'none'
3. Change it back to 'block'

Actual Results:  
Table layout is corrupted because Moz forgots about colspan="NN", also a
block-line is added to the table

Expected Results:  
The row with colspan should have just dissapeared, then re-emerged to its orig.
setting
since when rows have display: block instead of table-row?

*** 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.