[Webkit-unassigned] [Bug 13666] Canvas: fill() blows away the current path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 1 14:02:29 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=13666


drj at pobox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drj at pobox.com




------- Comment #4 from drj at pobox.com  2008-08-01 14:02 PDT -------
The testcase Hixie gives, http://www.hixie.ch/tests/adhoc/html/canvas/020.html
, is bogus.  It is creating a path using rect() and then fill()ing it 4 times,
changing the CTM by using translate() before each fill.  Apparently the
intention is that the rectangle is filled in four different positions.  But
this is not how the CTM and the path interact, the CTM operates on the
rectangle co-ordinates when they are specified by rect(), not later on when the
path is filled (see HTML5 4.7.11.1.8
http://www.whatwg.org/specs/web-apps/current-work/#complex ).  Thus, at least
in this regard, WebKit is behaving as per the "spec".


-- 
Configure bugmail: https://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