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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>18366</bug_id>
          
          <creation_ts>2012-07-23 21:58:56 +0000</creation_ts>
          <short_desc>Don&apos;t multiply transform functions before interpolation on non equal transform lists</short_desc>
          <delta_ts>2012-10-18 21:43:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Transforms</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Schulze">dschulze</reporter>
          <assigned_to name="Simon Fraser">smfr</assigned_to>
          <cc>ayg</cc>
    
    <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>dschulze</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71334</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-07-23 21:58:56 +0000</bug_when>
    <thetext>David Baron asks on www-style[1] if it is possible to interpolate each transform function pair of two transformation lists separately, even if both lists don&apos;t have the same transform function primitives in the same order.

This is different to the current spec, where transform functions are premultiplied together to one matrix per transform list and these two matrices are interpolated.

[1] http://lists.w3.org/Archives/Public/www-style/2012Jul/0460.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71416</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-07-24 22:03:25 +0000</bug_when>
    <thetext>That&apos;s not what he&apos;s asking. He&apos;s interpreted the presence of a &quot;non-primitive&quot; transform (e.g. perspective) as forcing the entire list into one matrix animation. He&apos;s suggesting we just do that one non-primitive pair as a matix anim, and keep the rest paired.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71740</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-08-01 15:52:26 +0000</bug_when>
    <thetext>The spec now says:
&quot;The transform functions ‘matrix’, ‘rotate3d’, ‘matrix3d’ and ‘perspective’ get converted into 4x4 matrices first and interpolated as defined in section Interpolation of Matrices afterwards.&quot;

In WebKit, for rotate3d(), we will blend single-axis functions without creating a matrix and decomposing. I think this makes most sense. I think it would also make sense to allow rotate3d(0, 0, 1, ...) to blend with rotate(), rotate3d(1, 0, 0, ...) with rotateX() etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76621</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-10-18 21:43:42 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; The spec now says:
&gt; &quot;The transform functions ‘matrix’, ‘rotate3d’, ‘matrix3d’ and ‘perspective’
&gt; get converted into 4x4 matrices first and interpolated as defined in section
&gt; Interpolation of Matrices afterwards.&quot;
&gt; 
&gt; In WebKit, for rotate3d(), we will blend single-axis functions without
&gt; creating a matrix and decomposing. I think this makes most sense. I think it
&gt; would also make sense to allow rotate3d(0, 0, 1, ...) to blend with
&gt; rotate(), rotate3d(1, 0, 0, ...) with rotateX() etc.

This is fixed in the latest update of the specification text and resolved by the CSS WG.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>