[Webkit-unassigned] [Bug 57061] REGRESSION(r74228-75294): nth-child pseudo class makes removeChild ~200x slower

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 28 17:00:18 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57061





--- Comment #5 from Igor Minar <iiminar at gmail.com>  2011-03-28 17:00:18 PST ---
We are still struggling with this one.

I attached screenshots showing that removing nodes styled with nth-child pseudo selector while an input field on the page has focus, results in "Recalculate Style" operation after removal of each of our 289 nodes.

This doesn't happen when I execute the very same code path, without previously calling focus() on the input field.

I also noticed that while my reduction exhibits the issue only when nodes are removed top-to-bottom, in our production app, the order of removal doesn't matter. The removal is slow in both directions. That makes me think that there is one more element in this puzzle that I haven't discovered yet.

Any hints would be very welcome.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list