[whatwg] [html5] Canvas arc() as part of subpath

On Thu, 12 Jan 2006 22:25:25 +0100, Ian Hickson <ian at hixie.ch> wrote:

> On Thu, 12 Jan 2006, Tim Altman wrote:
>>
>> According to the arc() definition, "The [arc] start point is added to
>> the list of points of the subpath and the current position is joined to
>> that point by a straight line."  However, Firefox 1.5 and Safari 2.0.2
>> do not follow this rule unless there is drawing or an explicit moveTo()
>> prior to the arc().  This should not be necessary, as according to the
>> definition of beginPath() a) "When the context is created, a call to
>> beginPath() is implied," and b) "The beginPath() method resets the list
>> of subpaths to an empty list, and calls moveTo() with the point (0,0)."
>>
>> See http://timaltman.com/temp/canvas.html for a test case.
>
> That's a bug in Webkit and Mozilla. (Apparently Mac Moz actually does it
> right, though.)
>
> Please file a bug on those products:
>
>    http://bugzilla.opendarwin.org/enter_bug.cgi?product=WebKit
>    https://bugzilla.mozilla.org/enter_bug.cgi?product=Core
>
> Please cc me (ian at hixie.ch).

Done:

http://bugzilla.opendarwin.org/show_bug.cgi?id=6510
https://bugzilla.mozilla.org/show_bug.cgi?id=323222

-- 
Tim Altman

Received on Thursday, 12 January 2006 13:50:13 UTC