Bug 134342 - [CSS Blending]The background images set on the root element will blend on an initial white backdrop.
Summary: [CSS Blending]The background images set on the root element will blend on an ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 108546
  Show dependency treegraph
 
Reported: 2014-06-26 01:11 PDT by Ion Rosca
Modified: 2014-07-07 00:16 PDT (History)
12 users (show)

See Also:


Attachments
Test. (812 bytes, text/html)
2014-06-26 02:13 PDT, Ion Rosca
no flags Details
Patch (16.11 KB, patch)
2014-06-27 06:41 PDT, Ion Rosca
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.