[Webkit-unassigned] [Bug 83889] Crash in WebKit!WebCore::RenderBoxModelObject::paddingLeft+0x5c.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 20 18:01:19 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83889





--- Comment #9 from Takashi Sakamoto <tasak at google.com>  2012-04-20 18:01:19 PST ---
(In reply to comment #7)
> Created an attachment (id=138208)
 --> (https://bugs.webkit.org/attachment.cgi?id=138208&action=review) [details]
> Patch

I recreate and uploaded patch again.

As class RenderScrollbar creates class RenderScrollbarPart instances without any render parent, padding left cannot get valid containingBlock.

I think, there are (at least) two ways to fix this issue:
(1) RenderScrollbar, use setParent to set RenderScrollbarPart's parent renderer.
   (needs to make RenderScrollbar RenderScrollbarPart's friend class)
(2) RenderBoxModelObject, check whether containingBlock exists or not when calculating paddingXXX. If not, use 0 as containingBlock width / height.

The recreated patch is created according to (1). And previous patch is created according to (2).

-- 
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