Closed Bug 275178 Opened 20 years ago Closed 18 years ago

y.innerHTML=y.innerHTML on a table (with anonymous children) makes it collapse

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MatsPalmgren_bugz, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

y.innerHTML=y.innerHTML on a table (with anonymous children) makes it collapse.
(spawned off from testcase in bug 272596)

STEPS TO REPRODUCE:
1. load attached testcase
2. click on 'button 2'

If you click on 'button 1' before or after clicking on 'button 2', then
subsequent clicks on 'button 2' works as expected (no change).
It also works if one uses <table><tr><td>... to construct the table.

ACTUAL RESULTS:
The table collapses it's height - no text is visible. See screenshot.

EXPECTED RESULTS:
No visual change. (New anonymous children are not created properly?).

PLATFORMS AND BUILDS TESTED:
Bug occurs in Mozilla trunk 2004-12-16-06 on Linux.
Bug occurs in Firefox 1.0 on Linux.
Attached file Testcase #1
Attached image Screenshot
wfm with 2004112606 winxp. Mats do you have an idea when this regressed? Or is
this a platform issue?
Bug also occurs in Mozilla 1.6, 1.4 and 1.0.2 on Linux.
Bug also occurs in Mozilla 2004-12-19-05 trunk Windows XP.
OS: Linux → All
you are right , sorry, I looked only at the testcase and thought that I can hit
any button 
WFM 
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20061222 Minefield/3.0a2pre
Yeah, this is also wfm with a 2006-12-07 build, so this was already fixed with a build before the reflow branch landing.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: