Closed
Bug 145205
Opened 23 years ago
Closed 23 years ago
Changes in the DOM are not correctly rendered
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: stef, Assigned: attinasi)
References
()
Details
(Whiteboard: INVALID, DUPEME)
The test application at the above URL, tries to build up dynamically a form,
when creating, and then deleteing an element multiple times each time it is
rendered a few pixels down.
Try pressing the "new type" button, and then the "delete" button a few times,
then notice how the newly created row slides down each time. you can also notice
this discrepancy watching the position of the "save type" button.
a related bug may be, that the valign of the tr element is totally ignored.
I see the issue Win2k RC2, but for the assignee's sake would it be possible for
you to cut down the length the test case a bit, so he can figure out the cause?
BTW the buttons do not even show up in IE6...
as requested i stripped down the jscript code to a much smaller portion,
allthough i also left the old example also there. the new url is:
http://web.interware.hu/stef/jscript/dombug.html
i admit i can be even smaller than this, but i'm short of time now...
![]() |
||
Comment 3•23 years ago
|
||
The problem is that you are calling appendChild on the _table_ rather than on
the tbody.
So you're creating multiple tbodies inside a single table. And when you remove
the row, the tbodies you created are still there. And they have margins.
You want to either use the HTMLTable DOM methods to add rows or you want to
appendChild to the first tbody in the table.
Whiteboard: INVALID, DUPEME
Comment 4•23 years ago
|
||
Confirming Boris words. It's not a bug.
And reporter. I think it'll be better if you'll put any JS code into html file
rather than attaching it.
i'd like to apologize, my fault, stupid coding bug. thanks for all the help.
![]() |
||
Comment 6•23 years ago
|
||
ok. :)
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•