Closed Bug 1083265 Opened 10 years ago Closed 10 years ago

Page with 200k hidden elements hangs in UndisplayedMap::AppendNodeFor

Categories

(Core :: DOM: CSS Object Model, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 560616

People

(Reporter: BenWa, Unassigned)

Details

Attachments

(1 file)

Testcase: http://people.mozilla.org/~bgirard/css_hidden.html Page loads in less than a second in Chrome, takes over a minute to load in FF.
Attached file Samples
Looks like we're doing an O(n^2) insertion on the hidden elements using a link list traverse + append for element when chrome is likely doing this in O(n): http://mxr.mozilla.org/mozilla-central/ident?i=AppendNodeFor
This is basically bug 560616, yes?
Yes
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: