Bug 134342

Summary: [CSS Blending]The background images set on the root element will blend on an initial white backdrop.
Product: WebKit Reporter: Ion Rosca <rosca>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, cdumez, commit-queue, dino, esprehn+autocc, glenn, gyuyoung.kim, kondapallykalyan, mihnea, sergio, simon.fraser, WebkitBugTracker
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 108546    
Attachments:
Description Flags
Test.
none
Patch none

Description Ion Rosca 2014-06-26 01:11:54 PDT
The background images set on the root element will blend with an initial white backdrop. Instead, they should blend with the background-color of the root element, or, if no background-color is specified for the root element, background images should blend over an initial transparent backdrop.

The spec states: 
Each background layer must blend with the element’s background layer that is below it and the element’s background color. Background layers must not blend with the content that is behind the element, instead they must act as if they are rendered into an isolated group.
Comment 1 Ion Rosca 2014-06-26 02:13:35 PDT
Created attachment 233896 [details]
Test.

I attached an html demonstrating the issue.
Here is a discussion on public-fx and www-style related to this use case: http://lists.w3.org/Archives/Public/public-fx/2014AprJun/0175.html.
Comment 2 Ion Rosca 2014-06-27 06:41:46 PDT
Created attachment 233980 [details]
Patch
Comment 3 Ion Rosca 2014-06-30 21:44:02 PDT
Simon, could you please have a look at this patch?
Comment 4 WebKit Commit Bot 2014-07-07 00:16:32 PDT
Comment on attachment 233980 [details]
Patch

Clearing flags on attachment: 233980

Committed r170841: <http://trac.webkit.org/changeset/170841>
Comment 5 WebKit Commit Bot 2014-07-07 00:16:38 PDT
All reviewed patches have been landed.  Closing bug.