[Webkit-unassigned] [Bug 8739] Crash in RenderTableSection::paint due to manipulating DOM on resize

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat May 13 01:02:36 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8739


opendarwin.org at mitzpettel.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




------- Comment #5 from opendarwin.org at mitzpettel.com  2006-05-13 01:02 PDT -------
(In reply to comment #4)
> IWhat code is relying on a layout having been
> done?

The painting code is invoked by -[WebHTMLView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] after it calls -[WebHTMLView
_web_layoutIfNeededRecursive:testDirtyRect:].

> Why doesn't that code trigger a layout if it's pending?

Calling _web_layoutIfNeededRecursive:testDirtyRect: is doing just that.

> An explicit
> layout here seems to just cover over the real problem.

I think "the real problem" here is that there is a method that promises to do
layout but fails to deliver. That method is -[WebHTMLView
layoutToMinimumPageWidth:maximumPageWidth:adjustingViewSize:], and the proposed
patch ensures that it will always do what it says it does.


-- 
Configure bugmail: http://bugzilla.opendarwin.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