Bug 78560

Summary: The tile cache layer should have its background set to the page background
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch sam: review+

Description Anders Carlsson 2012-02-13 18:27:41 PST
The tile cache layer should have its background set to the page background
Comment 1 Anders Carlsson 2012-02-13 18:29:34 PST
Created attachment 126883 [details]
Patch
Comment 2 Anders Carlsson 2012-02-13 18:36:24 PST
Committed r107657: <http://trac.webkit.org/changeset/107657>
Comment 3 Darin Adler 2012-02-14 15:46:19 PST
Comment on attachment 126883 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=126883&action=review

> Source/WebCore/rendering/RenderLayerCompositor.cpp:1658
> +    if (!backgroundColor.isValid() || backgroundColor.hasAlpha())

The isValid check is redundant because invalid colors always have alpha of 0 so return true for hasAlpha.