Bug 120429

Summary: The end point of canvas arc is incorrect.
Product: WebKit Reporter: Dongseong Hwang <dongseong.hwang>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ian, krit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Dongseong Hwang
Reported 2013-08-28 11:08:27 PDT
Steps to reproduce: Canvas spec defines start point and end point of arc as follows: http://www.w3.org/TR/2dcontext2/#dom-context-2d-arc The points at startAngle and endAngle along this circle's circumference, measured in radians clockwise from the ellipse's semi-major axis, are the start and end points respectively Actual results: When endAngle-startAngle is greater than 2π, the end point is the same to the start point regardless of the end angle. Expected results: End point of arc must be consistent with end angle Blink had the same issue and fixed in https://codereview.chromium.org/18286007/ There is a discussion about it in W3C bugzilla: https://www.w3.org/Bugs/Public/show_bug.cgi?id=23050
Attachments
Ian 'Hixie' Hickson
Comment 1 2013-11-18 16:06:33 PST
I've updated the spec to say that WebKit's current behaviour is correct. https://www.w3.org/Bugs/Public/show_bug.cgi?id=23050
Dirk Schulze
Comment 2 2014-04-03 01:37:25 PDT
Thanks for clarifying Ian.
Note You need to log in before you can comment on or make changes to this bug.