Closed
Bug 564332
Opened 14 years ago
Closed 13 years ago
putImageData throws exception when drawing to a smaller canvas
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
People
(Reporter: Parasyte, Unassigned)
References
()
Details
(Keywords: html5, testcase)
Attachments
(1 file, 2 obsolete files)
2.50 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Build Identifier: When drawing an ImageData object to a canvas using putImageData, NS_ERROR_DOM_SYNTAX_ERR is thrown if the canvas width or height is smaller than the ImageData. Reproducible: Always
Reporter | ||
Comment 1•14 years ago
|
||
This is the test case. It works correctly in the latest Safari and Opera releases (all canvases are green).
Reporter | ||
Comment 2•14 years ago
|
||
Fixed some silly problems with HTML structure, and not properly filling the fourth canvas with the initial red color.
Attachment #443994 -
Attachment is obsolete: true
Reporter | ||
Comment 3•14 years ago
|
||
Bork bork bork! I should really check what I'm uploading.
Attachment #443995 -
Attachment is obsolete: true
Comment 4•14 years ago
|
||
Yeah, this was apparently a spec change...
Comment 5•14 years ago
|
||
FWIW, the WIP patch in bug 498826 fixes this issue.
Comment 6•13 years ago
|
||
Test case v3 is passing at my end (with both Firefox 7.0.1 and with nightly build on Linux). I guess this issue is fixed now.
Comment 7•13 years ago
|
||
I also confirmed Test case v3 is all green. Resolving per comment #5 and #6.
You need to log in
before you can comment on or make changes to this bug.
Description
•