Closed Bug 531846 Opened 15 years ago Closed 13 years ago

canvas doesn't work correctly after illegal transformation

Categories

(Core :: Graphics: Canvas2D, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 612033

People

(Reporter: gyuque, Assigned: wesongathedeveloper)

References

()

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Canvas doesn't draw anything after doing these steps: 1. save context 2. set illegal transformation matrix (e.g. (0, 1, 0, 1, 0, 0) ) 3. restore context After step 2, no wonder rendering result is collapsed. But after step 3, where illegal transformation is removed, it should work well. Reproducible: Always Steps to Reproduce: 1. Open the URL Actual Results: Nothing is drawn. Expected Results: A red square is drawn. Google Chrome and Opera 9.6 work well and show the expected result.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch Patch (obsolete) (deleted) — Splinter Review
Assignee: nobody → wesongathedeveloper
Status: NEW → ASSIGNED
Attachment #451863 - Flags: review?(vladimir)
Attached patch Patch (deleted) — Splinter Review
Removed a redundant canvas tag from previous patch.
Attachment #451863 - Attachment is obsolete: true
Attachment #451864 - Flags: review?(vladimir)
Attachment #451863 - Flags: review?(vladimir)
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: