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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>12620</bug_id>
          
          <creation_ts>2007-02-05 13:13:35 -0800</creation_ts>
          <short_desc>&quot;values&quot; attribute of &lt;animateTransform type=&quot;rotate&quot;&gt; is divided by 10.</short_desc>
          <delta_ts>2007-02-10 17:31:27 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>420+</version>
          <rep_platform>Mac (PowerPC)</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>12565</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="Francis Avila">francisga</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27331</commentid>
    <comment_count>0</comment_count>
    <who name="Francis Avila">francisga</who>
    <bug_when>2007-02-05 13:13:35 -0800</bug_when>
    <thetext>The values of the &quot;values&quot; attribute are read as divided by 10, at least during a rotation transform.  Thus in the following SVG, the stroke rotates not 30, 60, and 90 degrees but 3, 6, and 9.  (&quot;values=&apos;0;300;600;900&apos;&quot; will give the behavior desired here.)

&lt;?xml version=&quot;1.0&quot; standalone=&quot;yes&quot;?&gt;
&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1//EN&quot; 
		 &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd&quot;&gt;
&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
     &lt;line x2=&quot;50&quot; stroke=&quot;black&quot; stroke-width=&quot;10&quot; &gt;
 		&lt;animateTransform
     		type=&quot;rotate&quot; calcMode=&quot;discrete&quot; repeatCount=&quot;indefinite&quot; dur=&quot;1s&quot;
     		values=&quot;0;300;600;900&quot;/&gt;
   	&lt;/line&gt;
&lt;/svg&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27332</commentid>
    <comment_count>1</comment_count>
      <attachid>12942</attachid>
    <who name="Francis Avila">francisga</who>
    <bug_when>2007-02-05 13:15:01 -0800</bug_when>
    <thetext>Created attachment 12942
Test Case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26913</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-02-05 20:00:52 -0800</bug_when>
    <thetext>This hits an ASSERT and crashes, so it&apos;s hard to verify on a debug build.

ASSERTION FAILED: m_type == toSVGTransform.type()
(/Stuff/Projects/WebKit/WebCore/ksvg2/svg/SVGTransformDistance.cpp:55 WebCore::SVGTransformDistance::SVGTransformDistance(const WebCore::SVGTransform&amp;, const WebCore::SVGTransform&amp;))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26777</commentid>
    <comment_count>3</comment_count>
      <attachid>12969</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-02-06 05:36:23 -0800</bug_when>
    <thetext>Created attachment 12969
fix values= parsing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25335</commentid>
    <comment_count>4</comment_count>
      <attachid>12969</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2007-02-07 02:56:59 -0800</bug_when>
    <thetext>Comment on attachment 12969
fix values= parsing

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24415</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-02-10 17:31:27 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 12565 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>12942</attachid>
            <date>2007-02-05 13:15:01 -0800</date>
            <delta_ts>2007-02-05 13:15:01 -0800</delta_ts>
            <desc>Test Case</desc>
            <filename>testValuesAttribute.svg</filename>
            <type>image/svg+xml</type>
            <size>383</size>
            <attacher name="Francis Avila">francisga</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJ5ZXMiPz4KPCFET0NUWVBFIHN2ZyBQVUJM
SUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAKCQkgImh0dHA6Ly93d3cudzMub3JnL0dyYXBo
aWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3Jn
LzIwMDAvc3ZnIj4KICAgICA8bGluZSB4Mj0iNTAiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0
aD0iMTAiID4KIAkJPGFuaW1hdGVUcmFuc2Zvcm0KICAgICAJCXR5cGU9InJvdGF0ZSIgY2FsY01v
ZGU9ImRpc2NyZXRlIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxcyIKICAgICAJCXZh
bHVlcz0iMDszMDA7NjAwOzkwMCIvPgogICAJPC9saW5lPgo8L3N2Zz4=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>12969</attachid>
            <date>2007-02-06 05:36:23 -0800</date>
            <delta_ts>2007-02-07 02:56:59 -0800</delta_ts>
            <desc>fix values= parsing</desc>
            <filename>values.patch</filename>
            <type>text/plain</type>
            <size>2025</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5n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5zZm9ybT0ndHJhbnNsYXRl
KDUwLDUwKSc+CisgICAgPGxpbmUgeTI9Jy01MCcgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRo
PSIxMCIgPgorICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gdHlwZT0icm90YXRlIiBjYWxjTW9kZT0i
ZGlzY3JldGUiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjFzIiB2YWx1ZXM9IjA7OTA7
MTgwOzI3MDszNjAiLz4KKyAgICA8L2xpbmU+CisgIDwvZz4KKyAgPHRleHQgeD0nMTAnIHk9JzEy
MCc+QSBsaW5lIGFib3ZlIHNob3VsZCByb3RhdGUgdGhyb3VnaCAwLCA5MCwgMjcwIGRlZ3JlZXMg
b3ZlciBvbmUgc2Vjb25kLCBqdW1waW5nIGJldHdlZW4gZWFjaCB2YWx1ZSBhbmQgcmVwZWF0aW5n
IGluZGVmaW5pdGVseS48L3RleHQ+Cis8L3N2Zz4K
</data>
<flag name="review"
          id="5000"
          type_id="1"
          status="+"
          setter="mjs"
    />
          </attachment>
      

    </bug>

</bugzilla>