[Webkit-unassigned] [Bug 109628] RenderQuote and RenderCounter should use tasks called before checking needsLayout()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 12 16:27:38 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=109628
--- Comment #1 from Elliott Sprehn <esprehn at chromium.org> 2013-02-12 16:29:52 PST ---
Note that the reason for this more complicated approach than the current proposal for pre-layout tasks is that RenderView may not need a layout, but there may be some pre-layout tasks that need to run that would then mark it as needing layout so:
if (needsLayout())
layout();
void layout() {
// not enough! Since we'll never even get here if needsLayout was false.
preLayoutTasks();
realLayout();
}
--
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