Closed
Bug 338545
Opened 18 years ago
Closed 18 years ago
Canvas doesn't reset on resize
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: ian, Assigned: vlad)
References
()
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
1.98 KB,
patch
|
mrbkap
:
review+
vlad
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
Resizing the canvas coordinate space (changing the height and width attributes) should reset the canvas bitmap to transparent black and the context to its initial state. Currently we don't reset the stroke colour. TESTCASES http://hixie.ch/tests/adhoc/html/canvas/017.html http://hixie.ch/tests/adhoc/html/canvas/018.html http://hixie.ch/tests/adhoc/html/canvas/019.html
Assignee | ||
Comment 1•18 years ago
|
||
One more small patch! Fixes this canvas bug.
Comment 2•18 years ago
|
||
Comment on attachment 222631 [details] [diff] [review] fix canvas reset r=mrbkap. For posterity, I talked with vlad about the possibility of using any of these states before SetDimension is called, and he said that it wouldn't happen.
Attachment #222631 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 3•18 years ago
|
||
Comment on attachment 222631 [details] [diff] [review] fix canvas reset Small spec-conformance patch for Fx2.
Attachment #222631 -
Flags: approval-branch-1.8.1?
Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 222631 [details] [diff] [review] fix canvas reset Marking verbal a+ from reviewer, based on what mconnor said
Attachment #222631 -
Flags: approval-branch-1.8.1? → approval-branch-1.8.1+
Assignee | ||
Updated•18 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•