Created attachment 508279 [details] [diff] [review] Patch v1 This patch makes us pass http://www.w3c-test.org/html/tests/approved/canvas/2d.line.width.invalid.html
Hmm, why lineWidth doesn't throw but arc should throw (Bug 630068). Sounds like an inconsistency in the API, which should be fixed in the spec. But perhaps there is some reason for this behavior.
It seems like attributes don't throw, and methods do. That seems reasonable.
Ok, that makes at least some sense.
Created attachment 508735 [details] [diff] [review] Patch for checkin Thanks!
Attachment #508279 - Attachment is obsolete: true
Whiteboard: [needs review]
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
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.