insertRow of inside nested table does not expand containing table




10 years ago
10 years ago


(Reporter: Steve Barber, Unassigned)


Firefox Tracking Flags

(Not tracked)



(2 attachments)



10 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: Gecko/20071008 Firefox/
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: Gecko/20071008 Firefox/

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

This problem also applies to Firefox 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.

Comment 1

10 years ago
Created attachment 285635 [details]
sample .html page to demonstrate the issue

Comment 2

10 years ago
It works correctly in trunk builds:

Last Resolved: 10 years ago
Resolution: --- → WORKSFORME

Comment 3

10 years ago
Created attachment 285636 [details]

Shouldn't be too hard to workaround the bug in older versions.
This seems to work for me.

Comment 4

10 years ago
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.