RESOLVED FIXED 54241
Enable ancestor identifier filtering for tree building
https://bugs.webkit.org/show_bug.cgi?id=54241
Summary Enable ancestor identifier filtering for tree building
Antti Koivisto
Reported 2011-02-10 13:40:14 PST
This style selector optimization is currently enable during style recalc only. It should also be enabled for tree building.
Attachments
patch (8.04 KB, patch)
2011-02-10 14:30 PST, Antti Koivisto
hyatt: review+
Antti Koivisto
Comment 1 2011-02-10 14:30:26 PST
Created attachment 82048 [details] patch Call CSSStyleSelector::push/popParent() during tree building too, fix up the parent element stack as needed. This roughly halves the remaining time in style matching over a typical page load.
Dave Hyatt
Comment 2 2011-02-10 14:51:55 PST
Comment on attachment 82048 [details] patch r=me. Run layout tests and make sure it's all still ok.
Antti Koivisto
Comment 3 2011-02-11 01:00:58 PST
Note You need to log in before you can comment on or make changes to this bug.