<?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>79772</bug_id>
          
          <creation_ts>2012-02-28 03:01:39 -0800</creation_ts>
          <short_desc>WebKit does not interpolate between cross-fade() and url() or cross-fade()</short_desc>
          <delta_ts>2012-02-29 19:28:18 -0800</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>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>78293</dup_id>
          
          <bug_file_loc>http://dabblet.com/result/gist/1931852</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Lea Verou">lea</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>shanestephens</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>566548</commentid>
    <comment_count>0</comment_count>
    <who name="Lea Verou">lea</who>
    <bug_when>2012-02-28 03:01:39 -0800</bug_when>
    <thetext>Hover over the image in the testcase. A 1s transition should occur, but it doesn&apos;t.

Although WebKit uses cross-fade() to interpolate between two url()s, it does not interpolate between a cross-fade() and a url() or between two cross-fade()s, even with the exact same images (and a different percentage).

In the case of cross-fade(url(A), url(B), X%) and url(A), the latter should be treated as cross-fade(url(A), url(B), 0%). 

Relevant: Since cross-fade() accepts any &lt;image&gt; as an argument and returns an &lt;image&gt;, it should allow nesting, i.e. cross-fade(cross-fade(url(A), url(B), 50%), cross-fade(url(C), url(D), 75%)) should be valid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566779</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2012-02-28 09:19:33 -0800</bug_when>
    <thetext>&gt; Relevant: Since cross-fade() accepts any &lt;image&gt; as an argument and returns an &lt;image&gt;, it should allow nesting, i.e. cross-fade(cross-fade(url(A), url(B), 50%), cross-fade(url(C), url(D), 75%)) should be valid.

This will happen when I finish https://bugs.webkit.org/show_bug.cgi?id=78293</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>568230</commentid>
    <comment_count>2</comment_count>
    <who name="Shane Stephens">shanestephens</who>
    <bug_when>2012-02-29 19:28:18 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>