<?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>31119</bug_id>
          
          <creation_ts>2009-11-04 06:42:07 -0800</creation_ts>
          <short_desc>@transform values changes when accessing the SVGTransformList</short_desc>
          <delta_ts>2010-07-07 05:40:43 -0700</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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</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>
          
          <blocked>41761</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Jeff Schiller">jeffschiller</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>rwlbuis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>160433</commentid>
    <comment_count>0</comment_count>
      <attachid>42483</attachid>
    <who name="Jeff Schiller">jeffschiller</who>
    <bug_when>2009-11-04 06:42:07 -0800</bug_when>
    <thetext>Created attachment 42483
Test case exhibiting the problem

The attached test case shows that by referencing an element&apos;s SVGTransformList, it changes the DOM value of the @transform attribute to &quot;matrix(...)&quot;.  The value of an attribute shouldn&apos;t be changed just be accessing a DOM property.  Gecko/Opera browsers do not do this.


var t1 = someElem.getAttribute(&apos;transform&apos;);
someElem.transform; // just accessing this DOM property
var t2 = someElem.getAttribute(&apos;transform&apos;);

t1 != t2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>229795</commentid>
    <comment_count>1</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2010-05-24 10:20:32 -0700</bug_when>
    <thetext>Hello Jeff,

(In reply to comment #0)
&gt; Created an attachment (id=42483) [details]
&gt; Test case exhibiting the problem
&gt; 
&gt; The attached test case shows that by referencing an element&apos;s SVGTransformList, it changes the DOM value of the @transform attribute to &quot;matrix(...)&quot;.  The value of an attribute shouldn&apos;t be changed just be accessing a DOM property.  Gecko/Opera browsers do not do this.
&gt; 
&gt; 
&gt; var t1 = someElem.getAttribute(&apos;transform&apos;);
&gt; someElem.transform; // just accessing this DOM property
&gt; var t2 = someElem.getAttribute(&apos;transform&apos;);
&gt; 
&gt; t1 != t2

I cant reproduce this anymore in trunk, can you confirm? If so we can close this bug report.
Cheers,

Rob.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>247503</commentid>
    <comment_count>2</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2010-07-07 05:40:43 -0700</bug_when>
    <thetext>krit confirmed this is fixed as well, so closing.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>42483</attachid>
            <date>2009-11-04 06:42:07 -0800</date>
            <delta_ts>2009-11-04 06:42:07 -0800</delta_ts>
            <desc>Test case exhibiting the problem</desc>
            <filename>transformlist.svg</filename>
            <type>image/svg+xml</type>
            <size>904</size>
            <attacher name="Jeff Schiller">jeffschiller</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAw
L3N2ZyI+CiAgPHJlY3QgaWQ9InJlc3VsdCIgeD0iNTAiIHk9IjUwIiB3aWR0aD0iMzAwIiBoZWln
aHQ9IjEwMCIgZmlsbD0ibGltZSIgdHJhbnNmb3JtPSJyb3RhdGUoNTAsNTAsNTApIHNjYWxlKDAu
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