insertRow of inside nested table does not expand containing table

RESOLVED WORKSFORME

Status

()

Firefox
General
RESOLVED WORKSFORME
10 years ago
10 years ago

People

(Reporter: Steve Barber, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

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

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:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

-> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME

Comment 3

10 years ago
Created attachment 285636 [details]
Workaround

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

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.