<?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>15504</bug_id>
          
          <creation_ts>2012-01-10 19:01:02 +0000</creation_ts>
          <short_desc>Initial value of &apos;transform-origin&apos; should be &apos;auto&apos;</short_desc>
          <delta_ts>2012-02-10 16:23:33 +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="Dirk Schulze">dschulze</assigned_to>
          <cc>ayg</cc>
    
    <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>eoconnor</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62505</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-01-10 19:01:02 +0000</bug_when>
    <thetext>The initial value of the &apos;transform-origin&apos; property should be &apos;auto&apos;. A new paragraph should describe the differences between SVG and HTML.

Sections that would need a change:
3 &apos;The &quot;transform-origin&quot; Property&apos; 2nd paragraph: &quot;to be &apos;center&apos;&quot;
3 &apos;The &quot;transform-origin&quot; Property&apos; detailed property description: &quot;Initial: 50% 50%&quot;
5 &apos;Transform Values and Lists&apos; last paragraph: &quot;transform-origin of 50% 50%&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63009</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-01-23 16:49:21 +0000</bug_when>
    <thetext>Are you saying we should add an actual &quot;auto&quot; keyword?  Or that we should make the initial value of transform-origin differ between SVG and HTML, instead of requiring &quot;svg | * { transform-origin: top left }&quot; in UA stylesheets?  The former doesn&apos;t seem to match browsers, and I don&apos;t know why we&apos;d want it.  The latter I&apos;m not sure about.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63011</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-01-23 16:54:12 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Are you saying we should add an actual &quot;auto&quot; keyword?  Or that we should make
&gt; the initial value of transform-origin differ between SVG and HTML, instead of
&gt; requiring &quot;svg | * { transform-origin: top left }&quot; in UA stylesheets?  The
&gt; former doesn&apos;t seem to match browsers, and I don&apos;t know why we&apos;d want it.  The
&gt; latter I&apos;m not sure about.

It would mean both. If the initial value is &apos;auto&apos;, we would also need &apos;auto&apos; as keyword. A short description would notify that &apos;auto&apos; means &apos;center center&apos; for HTML elements and &apos;0 0&apos; for SVG elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63013</commentid>
    <comment_count>3</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-01-23 17:00:53 +0000</bug_when>
    <thetext>We could also change

  Initial: 50% 50%

to

  Initial: 0 0 for SVG elements, 50% 50% for all other elements

to achieve a similar effect.  Why is this better than the current spec, which requires a UA stylesheet rule?  (Notwithstanding the fact that the UA stylesheet rule given right now is wrong, as you point out in bug 15505.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63956</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-02-10 16:23:33 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; We could also change
&gt; 
&gt;   Initial: 50% 50%
&gt; 
&gt; to
&gt; 
&gt;   Initial: 0 0 for SVG elements, 50% 50% for all other elements
&gt; 
&gt; to achieve a similar effect.  Why is this better than the current spec, which
&gt; requires a UA stylesheet rule?  (Notwithstanding the fact that the UA
&gt; stylesheet rule given right now is wrong, as you point out in bug 15505.)

The initial values were already set when I wanted to modify the spec. I just clarified that just SVG elements without an associated CSS layout rect would take 0 0 as initial values. We want inline SVGSVGelements behave like every other HTML box element. Would be confusing if not.

I removed the UA string, because of the change. I don&apos;t think that we need to have it. Seems like a duplication, even if it can be interpreted as implementer hint.

Fixed that with the update on 2012/02/10.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>