<?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>15801</bug_id>
          
          <creation_ts>2012-01-30 23:58:32 +0000</creation_ts>
          <short_desc>Add optional translation arguments for scale</short_desc>
          <delta_ts>2012-02-26 15:09:52 +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>LATER</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>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63371</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-01-30 23:58:32 +0000</bug_when>
    <thetext>Add optional translation arguments to define a scale origin.

Adding this bug for the records from: http://www.w3.org/Graphics/SVG/WG/wiki/FX-Taskforce/2DTransformsToDoList

I don&apos;t think that this is necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63392</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-01-31 08:46:13 +0000</bug_when>
    <thetext>Was there any list/F2F discussion on this one? It&apos;s not totally clear to me that it&apos;s necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63406</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-01-31 17:40:55 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Was there any list/F2F discussion on this one? It&apos;s not totally clear to me
&gt; that it&apos;s necessary.

Well, it may is reasonable like rotate with three arguments in bug 15508. It makes it easier to scale a region from a certain origin for authors.

Specifying the origin for a certain transformation function in a list of functions makes it easier, than translating to the new origin and - more difficult - translate back on your self.

So when I think about that, it can be an improvement for the author. The question would be how to specify that, since the second scale argument is optional:

scale(&lt;number&gt;[, &lt;number&gt;][, &lt;length&gt;, &lt;length&gt;]) ? So either have one, two or four arguments? The same for scale3d?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63409</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-01-31 17:44:17 +0000</bug_when>
    <thetext>(In reply to comment #2)

&gt; scale(&lt;number&gt;[, &lt;number&gt;][, &lt;length&gt;, &lt;length&gt;]) ? So either have one, two or
&gt; four arguments? The same for scale3d?

1-4 arguments, there are four possibilities, sorry.

1-2 arguments: scale from the current origin,
3-4 arguments: scale from the given origin.

For 3 arguments: scale vertical and horizontal from the given position.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63411</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-01-31 17:50:17 +0000</bug_when>
    <thetext>transform-origin handles the case where the author wants a different origin for the list of transforms. I think it&apos;s pretty rare to want a different origin for just a scale; I&apos;ve never needed it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63412</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-01-31 17:56:25 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; transform-origin handles the case where the author wants a different origin for
&gt; the list of transforms. I think it&apos;s pretty rare to want a different origin for
&gt; just a scale; I&apos;ve never needed it.

I wouldn&apos;t say that it has a strong requirement, but just because it is easy to surround a scale with two translations and both are really easy to calculate.

Nevertheless, I am fine if we don&apos;t add it to the specification. I just wanted to make sure that we don&apos;t miss a raised concern and discussed every option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64609</commentid>
    <comment_count>6</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-02-26 15:09:52 +0000</bug_when>
    <thetext>We won&apos;t support new syntax for CSS3 Transforms transformation functions. Maybe in later versions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>