Closed Bug 400571 Opened 17 years ago Closed 17 years ago

insertRow of inside nested table does not expand containing table

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: steveb, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8

Apologies if my terminology is unclear; I'm still learning this stuff.

This problem also applies to Firefox 2.0.0.5 on i386 Fedora 7.

If I create a form with a table, and a cell of that table contains another table... calling insertRow of the internal table causes a display problem.  The row is inserted, but the containing table is not expanded, so the expanded cell draws over the top of the cell below.

deleteRow works fine however.



Reproducible: Always

Steps to Reproduce:
1. display page containing form with nested tables as described above
2. click button to add a row to the inside table

(See attachments for sample HTML file)
Actual Results:  
A row is added but is not rendered properly.  It appears that the cell containing the internal table grows, but only that one cell.  Or maybe it's just the inside table itself.  The expanded inside table is drawn over the top of the rest of the outside table.

Expected Results:  
All the containing elements of the inside table should be expanded to fit and redrawn

I viewed the same page in Safari and it had no problems, worked as expected.
It works correctly in trunk builds:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

-> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Attached file Workaround
Shouldn't be too hard to workaround the bug in older versions.
This seems to work for me.
Got the workaround; that does work for me.  Pretty obscure but it works. Thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: