Closed
Bug 491150
Opened 14 years ago
Closed 12 years ago
canvas arc with negative radius doesn't throw INDEX_SIZE_ERR
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
mozilla2.0b11
People
(Reporter: krit, Assigned: Ms2ger)
References
()
Details
(Keywords: dev-doc-complete, html5)
Attachments
(1 file, 2 obsolete files)
1.63 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10 An arc() with a negative radius doesn't throw an INDEX_SIZE_ERR (http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-arc) but current versions of Opera or WebKit do. This was discussed on the WhatWg mailing list http://www.nabble.com/Canvas---Exception-on-arc-with-negative-radius-td22748785.html and Hixie opposed to change the specification. Reproducible: Always Steps to Reproduce: 1. Visit the link above in Opera and Firefox 2. Move the molecules around Actual Results: Circles stay in FF Expected Results: Circles go away in Opera an throw the error but stay in FF
Updated•14 years ago
|
Component: General → Layout: Canvas
Product: Firefox → Core
QA Contact: general → layout.canvas
Comment 1•14 years ago
|
||
Patch to raise exception specified by spec - also, there's a simple testcase at http://philip.html5.org/tests/canvas/suite/tests/2d.path.arc.negative.html
Attachment #380619 -
Flags: review?(vladimir)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → wesongathedeveloper
Blocks: 622842
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Version: unspecified → Trunk
Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
Actually, this needs a test change.
Assignee: wesongathedeveloper → Ms2ger
Attachment #380619 -
Attachment is obsolete: true
Attachment #508471 -
Flags: review?(roc)
Attachment #380619 -
Flags: review?(vladimir)
Attachment #508471 -
Flags: review?(roc)
Attachment #508471 -
Flags: review+
Attachment #508471 -
Flags: approval2.0+
Assignee | ||
Updated•12 years ago
|
Flags: in-testsuite+
Keywords: checkin-needed,
html5
![]() |
||
Comment 5•12 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/263e4f35b797 but note the bug number in the patch was wrong.
Updated•12 years ago
|
Keywords: dev-doc-needed
Comment 7•12 years ago
|
||
Added note to: https://developer.mozilla.org/en/DOM/CanvasRenderingContext2D#Notes And listed the change on Firefox 4 for developers.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•