[Webkit-unassigned] [Bug 16075] New: setRotate method in SVGTransform does apparently nothing.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 20 13:35:22 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16075
Summary: setRotate method in SVGTransform does apparently
nothing.
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
URL: javascript:alert(function(){g=document.createElementNS('
http://www.w3.org/2000/svg',
'g');g.setAttribute('transform', 'rotate(90)');
g.transform.baseVal.getItem(0).setRotate(10, 0, 0);
return g.getAttribute('transform')}())
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: drj at pobox.com
JavaScript programs are supposed to be able to mutate a transform within a
transform list (for example, the transform list I create with <g
transform="translate(1 2) rotate(3)" /g>) using various methods in the
SVGTransform DOM, see:
http://www.w3.org/TR/SVG/coords.html#InterfaceSVGTransform
The bookmarklet is supposed to produce an alert showing "rotate(10)" (which it
does on Firefox), but on Safari it shows "rotate(90)". The JavaScript creates
a g element with a transform list of "rotate(90)" then tries to use the
setRotate method to change it to "rotate(10)". The value of the transform
attribute after the call is alert'd.
I'm pretty sure I first noticed this on the setMatrix method (so that's
probably not implemented either), but that's not what my JavaScript example
tests.
On the nightly WebKit build that I downloaded whenever.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list