Bug 31119 - @transform values changes when accessing the SVGTransformList
Summary: @transform values changes when accessing the SVGTransformList
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 41761
  Show dependency treegraph
 
Reported: 2009-11-04 06:42 PST by Jeff Schiller
Modified: 2010-07-07 05:40 PDT (History)
1 user (show)

See Also:


Attachments
Test case exhibiting the problem (904 bytes, image/svg+xml)
2009-11-04 06:42 PST, Jeff Schiller
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Schiller 2009-11-04 06:42:07 PST
Created attachment 42483 [details]
Test case exhibiting the problem

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


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

t1 != t2
Comment 1 Rob Buis 2010-05-24 10:20:32 PDT
Hello Jeff,

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

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

Rob.
Comment 2 Rob Buis 2010-07-07 05:40:43 PDT
krit confirmed this is fixed as well, so closing.