<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>117772</bug_id>
          
          <creation_ts>2013-06-18 20:01:27 -0700</creation_ts>
          <short_desc>[CSS Blending] Background blending is not performed beyond opaque background layers</short_desc>
          <delta_ts>2013-06-19 00:48:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>117532</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jochen</cc>
    
    <cc>krit</cc>
    
    <cc>mitica</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>901643</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-06-18 20:01:27 -0700</bug_when>
    <thetext>Consider merging https://chromium.googlesource.com/chromium/blink/+/e5c8e0d80e03728effad4a2708c5a6d4c8d394cc

If an element has the background defined as two opaque layers, let&apos;s say a jpg image
and a background color, and background blending is specified via CSS, the operation
isn&apos;t performed.

The fix consists of adding another condition in RenderBox::PaintFillLayers to shortcircuit
at the next background layer only if there&apos;s no blending operation applied to it.
Otherwise, the layer should be passed forward for painting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>901684</commentid>
    <comment_count>1</comment_count>
    <who name="Mihai Tica">mitica</who>
    <bug_when>2013-06-19 00:46:48 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Consider merging https://chromium.googlesource.com/chromium/blink/+/e5c8e0d80e03728effad4a2708c5a6d4c8d394cc
&gt; 
&gt; If an element has the background defined as two opaque layers, let&apos;s say a jpg image
&gt; and a background color, and background blending is specified via CSS, the operation
&gt; isn&apos;t performed.
&gt; 
&gt; The fix consists of adding another condition in RenderBox::PaintFillLayers to shortcircuit
&gt; at the next background layer only if there&apos;s no blending operation applied to it.
&gt; Otherwise, the layer should be passed forward for painting.

This also got into WebKit first :D
Here&apos;s the changeset that addressed this problem: http://trac.webkit.org/changeset/151547, we should probably close this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>901685</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-06-19 00:48:31 -0700</bug_when>
    <thetext>Great!

*** This bug has been marked as a duplicate of bug 117532 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>