[Webkit-unassigned] [Bug 140183] Failed to display background image when body is composited

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 2 18:49:11 PST 2015


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

zalan <zalan at apple.com> changed:

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

--- Comment #28 from zalan <zalan at apple.com> ---
> if (bodyElementRenderer->isComposited() &&
> documentElementRenderer->isComposited())
>     return
> downcast<RenderLayerModelObject>(documentElementRenderer)->layer()-
> >backing()->graphicsLayer()->drawsContent();
> 
> return true;
> 
> Otherwise it will miss the case where bodyElementRenderer->isComposited() &&
> documentElementRenderer->isComposited() is false but still return true.
Indeed. "Also only skip painting background if document's layer can draw its content." comment mislead me as I thought by 'only skip...' you meant that if the layer can't draw itself, it needs to return false.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150203/96919e14/attachment-0002.html>


More information about the webkit-unassigned mailing list