Closed
Bug 76622
Opened 23 years ago
Closed 20 years ago
Limit in appending elements in DOM not handled very well, possible memory leak
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
Future
People
(Reporter: vladimire, Unassigned)
Details
Attachments
(1 file)
1.44 KB,
text/html
|
Details |
When appending elements in dom once you append above 196 nested elements there is a problem. Whatever you appened to the "deepest" node doesnt render. At first I thought that this was a boundry value, the limit for nesting, but then I noticed that the more elements you append the longer it takes to process it. If you append 200 elements it will take a second, if you append 1000 it will take a minute. But the result is stil the same - nothing. In IE however it is much faster, and you can still see the last appended element no matter how deep you are in the tree, even if it is 1000 elements. I dont know if the elements are actualy generated, and are just not rendered. What happens to those that are appended after 196? is there a memory leak? To reproduce open the attachment. Tag field is the name of the tag that you want to create, and depth is how deep you want to nest it. Then click Generate Test, and a "CLICK HERE" message should appear. If you click on it it will call event handlers attached to each tag as it is created and will output the tag's id. Put in different values like 196, 197, 300, 500... and see how it behaves.
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
"Don't do that then" :-) Should probably be fixed, but not critical now.
Target Milestone: --- → Future
Updated•23 years ago
|
Priority: -- → P5
Reporter | ||
Updated•22 years ago
|
QA Contact: stummala → vladimire
Comment 5•20 years ago
|
||
*** This bug has been marked as a duplicate of 58917 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: DOM: Core → DOM: Core & HTML
QA Contact: vladimire → general
You need to log in
before you can comment on or make changes to this bug.
Description
•