Closed
Bug 910138
Opened 11 years ago
Closed 9 years ago
Add support for new canvas ellipse method.
Categories
(Core :: Graphics: Canvas2D, enhancement)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: dongseong.hwang, Assigned: ethlin)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, Whiteboard: [parity-blink][parity-edge])
Attachments
(3 files, 2 obsolete files)
10.28 KB,
patch
|
Details | Diff | Splinter Review | |
35.84 KB,
patch
|
Details | Diff | Splinter Review | |
3.21 KB,
patch
|
Details | Diff | Splinter Review |
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 v5 API adds a new path segment type: ellipse.
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-ellipse
Actual results:
Firefox does not support canvas ellipse
Expected results:
Firefox should support canvas ellipse
Reporter | ||
Comment 1•11 years ago
|
||
Recently, Blink supports canvas ellipse. https://code.google.com/p/chromium/issues/detail?id=130260
WebKit works in progress about it. https://bugs.webkit.org/show_bug.cgi?id=82791
![]() |
||
Updated•11 years ago
|
Component: Untriaged → Canvas: 2D
OS: Linux → All
Product: Firefox → Core
Updated•11 years ago
|
Assignee: nobody → sanctity.tawdriest.stephen
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•10 years ago
|
||
Docs in need of updating when this gets fixed: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D.ellipse
Also removing assignee as there has been no activity in one year.
Assignee: sanctity.tawdriest.stephen → nobody
Keywords: dev-doc-needed
Hardware: x86_64 → All
Whiteboard: [parity-blink]
Updated•9 years ago
|
Whiteboard: [parity-blink] → [parity-blink][parity-edge]
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ethlin
Assignee | ||
Comment 4•9 years ago
|
||
Implement the ellipse method for canvas.
Attachment #8692275 -
Flags: review?(roc)
Assignee | ||
Comment 5•9 years ago
|
||
Add test cases for ellipse.
Attachment #8692276 -
Flags: review?(roc)
Comment on attachment 8692275 [details] [diff] [review]
Part1. Implement canvas ellipse
Review of attachment 8692275 [details] [diff] [review]:
-----------------------------------------------------------------
Needs DOM peer review for WebIDL change (though it's trivial)
Attachment #8692275 -
Flags: review?(roc)
Attachment #8692275 -
Flags: review?(bugs)
Attachment #8692275 -
Flags: review+
Comment on attachment 8692276 [details] [diff] [review]
Part2. Add test case for ellipse
Review of attachment 8692276 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8692276 -
Flags: review?(roc) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8692275 [details] [diff] [review]
Part1. Implement canvas ellipse
The spec has
void ellipse(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise = false)
But I guess since we don't have unrestricted in other cases either this is fine for now.
Attachment #8692275 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 9•9 years ago
|
||
Rebase to master.
Attachment #8692275 -
Attachment is obsolete: true
Assignee | ||
Comment 10•9 years ago
|
||
Rebase to master.
Attachment #8692276 -
Attachment is obsolete: true
Assignee | ||
Comment 11•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1a5af4e551d4
https://hg.mozilla.org/integration/mozilla-inbound/rev/0a779ce8d970
Keywords: checkin-needed
Comment 13•9 years ago
|
||
Comment 14•9 years ago
|
||
Comment 15•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1a5af4e551d4
https://hg.mozilla.org/mozilla-central/rev/0a779ce8d970
https://hg.mozilla.org/mozilla-central/rev/f9b65538a2e6
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Comment 16•9 years ago
|
||
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse
https://developer.mozilla.org/en-US/Firefox/Releases/48#Canvas_2D
Keywords: dev-doc-needed → dev-doc-complete
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•