Open
Bug 910142
Opened 12 years ago
Updated 3 years ago
<canvas>: the end point of canvas arc is incorrect.
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
NEW
People
(Reporter: dongseong.hwang, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
1.37 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.14 Safari/537.36
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
| Reporter | ||
Comment 1•12 years ago
|
||
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
Updated•12 years ago
|
Component: Untriaged → Canvas: 2D
OS: Linux → All
Product: Firefox → Core
Attachment #796515 -
Attachment mime type: text/plain → text/html
Comment 2•12 years ago
|
||
I think this would just take an updated implementation of ArcToBezier (gfx/2d/PathHelpers.h).
Updated•12 years ago
|
Comment 3•12 years ago
|
||
I've updated the spec to say that Firefox's current behaviour is correct.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23050
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•