[Webkit-unassigned] [Bug 13455] FrameView::layout() not always resuming scheduled events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 11:16:21 PDT 2007


------- Comment #9 from kevino at theolliviers.com  2007-04-24 11:16 PDT -------
I added the assert, and it is being triggered very early on, even before the
page gets displayed. I removed my one client call to
setNeedsLayout()/scheduleRelayout() (which is used by wx when the native
control's size changes), but the assert still gets triggered.

The assert is fired from a layout called by FrameView::layoutTimerFired. I put
a break in the scheduleRelayout function, and I found that the first three
times it is called, it does lead to the assert. (The calls are coming from
Document::updateStyleSelector in response to receiving data from the

The fourth time the call comes from HTMLBodyElement::InsertIntoDocument
(starting from HTMLTokenizer::timerFired), and it is from this code path that
it eventually asserts. However, since I'm not too familiar with the rendering
engine yet, I'm not sure what exactly I should be looking for in terms of
needsLayout() being set incorrectly, or not reset properly. 

Any tips on how I can track this down further? Thanks for all your help!

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

More information about the webkit-unassigned mailing list