[Webkit-unassigned] [Bug 16610] <canvas> restore() removes path segments created before it
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 6 04:26:20 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16610
oliver at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at hixie.ch
------- Comment #3 from oliver at apple.com 2008-03-06 04:26 PDT -------
Erk, it would appear that firefox attempts to maintain the screen position and
size of a path across save/restore boundaries. In effect, firefox appears to
be trying to make:
save();
translate(100,100);
rect(0,0,10,10);
restore()
produce the same thing as
translate(100,100);
rect(0,0,10,10);
translate(-100,-100);
In practice this means that we have to maintain the transform for each level of
the state stack -- this makes me unhappy, and i feel is not spec behaviour. My
reading of the spec would indicate that the opera behaviour is correct -- after
restore() drawing the path should result in a circle, whereas firefox produces
an ellipse.
--
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