<?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>15678</bug_id>
          
          <creation_ts>2012-01-23 17:42:17 +0000</creation_ts>
          <short_desc>Percentages should be disallowed in translate Z-components by the grammar, not just prose</short_desc>
          <delta_ts>2012-02-10 16:40:46 +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>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Dirk Schulze">dschulze</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>dschulze</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63016</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-01-23 17:42:17 +0000</bug_when>
    <thetext>&quot;&quot;&quot;
translate3d(&lt;translation-value&gt;, &lt;translation-value&gt;, &lt;translation-value&gt;)
specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively. Note that &lt;percentage&gt; values are not allowed in the tz translation-value, and if present will cause the propery value to be invalid.

...

translateZ(&lt;translation-value&gt;)
specifies a translation by the given amount in the Z direction. Note that &lt;percentage&gt; values are not allowed in the translateZ translation-value, and if present will cause the propery value to be invalid.
&quot;&quot;&quot;
http://dev.w3.org/csswg/css3-3d-transforms/#transform-functions

It would be simpler if this just read

&quot;&quot;&quot;
translate3d(&lt;translation-value&gt;, &lt;translation-value&gt;, &lt;length&gt;)
specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third parameters respectively.

...

translateZ(&lt;length&gt;)
specifies a translation by the given amount in the Z direction.
&quot;&quot;&quot;

Currently it says &lt;translation-value&gt;, but then says in the prose that percentages are disallowed.  &lt;translation-value&gt; is just &lt;length&gt; or &lt;percentage&gt; anyway, so why not simplify and just say it has to be &lt;length&gt; with no extra prose?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63948</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-02-10 04:07:32 +0000</bug_when>
    <thetext>I&apos;ll fix that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63959</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-02-10 16:29:59 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I&apos;ll fix that.

I fixed it as you suggested with commit 2012/02/10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63961</commentid>
    <comment_count>3</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-02-10 16:40:46 +0000</bug_when>
    <thetext>Looks good to me.  Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>