<?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>15431</bug_id>
          
          <creation_ts>2012-01-05 20:07:20 +0000</creation_ts>
          <short_desc>getComputedStyle().transform should be explicitly required to return numbers for all entries, not lengths</short_desc>
          <delta_ts>2012-03-12 21:32:39 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15797</dup_id>
          
          <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="Aryeh Gregor">ayg</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>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62306</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-01-05 20:07:20 +0000</bug_when>
    <thetext>Example:

data:text/html,&lt;!doctype html&gt;
&lt;body style=transform:translate(5px)&gt;&lt;/div&gt;
&lt;script&gt;alert(getComputedStyle(document.body).transform)&lt;/script&gt;

If you substitute the appropriate prefixed property for both instances of &quot;translate&quot;, IE9, Chrome 17 dev, and Opera Next 12.00 alpha all say &quot;matrix(1, 0, 0, 1, 5, 0)&quot;.  Firefox 12.0a1 says &quot;matrix(1, 0, 0, 1, 5px, 0px)&quot;.  Which is correct?  The spec suggests the first, but it doesn&apos;t say explicitly.  I suggest explicitly stating that a, b, c, d, e, and f are all numbers, not lengths.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62906</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-01-19 16:16:35 +0000</bug_when>
    <thetext>Cf. bug 15628.  Even if that bug is FIXED, I think we should still omit the &quot;px&quot; from all matrix entries in getComputedStyle().  Adding the &quot;px&quot; doesn&apos;t seem to serve any purpose -- it&apos;s shorter without &quot;px&quot;, a matrix without &quot;px&quot; works in more browsers right now, and all non-Gecko browsers omit the &quot;px&quot; already.

Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=719446</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64450</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-02-22 20:04:34 +0000</bug_when>
    <thetext>All browsers agree now.  I&apos;ll make the change when I get CVS access.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65126</commentid>
    <comment_count>3</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-03-07 21:42:38 +0000</bug_when>
    <thetext>This is moot given bug 15797 comment 10.  I&apos;m leaving it open until that&apos;s resolved, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65406</commentid>
    <comment_count>4</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-03-12 21:32:39 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>