Counter shouldn't invalidate the tree in the middle of layout
Created attachment 212107 [details] Fixes the bug
Created attachment 212108 [details] Updated for ToT
Comment on attachment 212108 [details] Updated for ToT View in context: https://bugs.webkit.org/attachment.cgi?id=212108&action=review > Source/WebCore/page/FrameView.cpp:2867 > + for (RenderObject* renderer = view; renderer; renderer = renderer->nextInPreOrder()) { > + if (!renderer->isCounter()) > + continue; > + > + static_cast<RenderCounter*>(renderer)->updateCounter(); > + } We walk the entire render tree to update counters? That's crazy! We should keep a hash set of counter renderers.
Comment on attachment 212108 [details] Updated for ToT r- by comment #3.
I'm not working on this.