Closed
Bug 630062
Opened 12 years ago
Closed 12 years ago
Don't throw on setting lineWidth and ignore non-positive values
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
mozilla2.0b11
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
Details
(Keywords: dev-doc-complete, html5)
Attachments
(1 file, 1 obsolete file)
2.19 KB,
patch
|
Details | Diff | Splinter Review |
This patch makes us pass http://www.w3c-test.org/html/tests/approved/canvas/2d.line.width.invalid.html
Attachment #508279 -
Flags: review?(roc)
Assignee | ||
Updated•12 years ago
|
Flags: in-testsuite+
Comment 1•12 years ago
|
||
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.
Assignee | ||
Comment 2•12 years ago
|
||
It seems like attributes don't throw, and methods do. That seems reasonable.
Comment 3•12 years ago
|
||
Ok, that makes at least some sense.
Attachment #508279 -
Flags: review?(roc)
Attachment #508279 -
Flags: review+
Attachment #508279 -
Flags: approval2.0+
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → Ms2ger
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Whiteboard: [needs review]
![]() |
||
Comment 5•12 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/22aa43f18646
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → mozilla2.0b11
Updated•12 years ago
|
Keywords: dev-doc-needed
Comment 6•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
•