Closed Bug 813851 Opened 12 years ago Closed 12 years ago

Canvas gets confused about its path/transform state

Categories

(Core :: Graphics: Canvas2D, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20
Tracking Status
firefox18 - ---
firefox19 - verified
firefox20 --- verified

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(3 files)

Attached file Test case
This test case shows the problem.
Attached patch Clear out path.Splinter Review
I believe this is the correct fix and seems consistent with the code above, but I'm not sure.
Attachment #683874 - Flags: review?(ncameron)
Attachment #683874 - Flags: review?(bas)
Comment on attachment 683874 [details] [diff] [review]
Clear out path.

Review of attachment 683874 [details] [diff] [review]:
-----------------------------------------------------------------

I think this is right, seems consistent with the way ds path builder and mPath work elsewhere.
Attachment #683874 - Flags: review?(ncameron) → review+
Comment on attachment 683874 [details] [diff] [review]
Clear out path.

Review of attachment 683874 [details] [diff] [review]:
-----------------------------------------------------------------

Correct!
Attachment #683874 - Flags: review?(bas) → review+
Jeff is away this week so I will land this. Meanwhile we should ship this fix as early as possible. Lets track this bug.
https://hg.mozilla.org/mozilla-central/rev/fb979e824816
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Can we get the test checked in?
Flags: in-testsuite?
(In reply to Benoit Girard (:BenWa) from comment #4)
> Jeff is away this week so I will land this. Meanwhile we should ship this
> fix as early as possible. Lets track this bug.

Is this a regression in FF17/18? Just want to better understand why this should track for release.
Given the lack of a case for uplift, removing tracking noms.  If you re-nom please explain what the user benefit or regression fix is here.
I've been waiting on Jeff to get back from vacation to handle this. I'll let him renominate the issue.
Comment on attachment 683874 [details] [diff] [review]
Clear out path.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): Azure canvas regression (happened on Windows first, then OS X and most recently Linux)
User impact if declined: In correct canvas behaviour.
Testing completed (on m-c, etc.): All of the canvas tests
Risk to taking this patch (and alternatives if risky): Seems quite low risk
Attachment #683874 - Flags: approval-mozilla-aurora?
(In reply to Jeff Muizelaar [:jrmuizel] from comment #11)
> [Approval Request Comment]
> User impact if declined:

We ran into this on the upverter.com site. So it was being hit be real world sites.
Attachment #683874 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Summary: Canvas gets confused about it's path/transform state → Canvas gets confused about its path/transform state
Keywords: verifyme
Verified with Firefox 19 RC on a Mac OSX 10.7.5 machine.

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130215130331

The output is the one shown in the attachement from comment 14.
QA Contact: manuela.muntean
Verified the fix for Firefox 20.0 beta 1 with the attached testcase from comment 0 on Mac OS X 10.7.5.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:20.0) Gecko/20100101 Firefox/20.0 (20130220104816)
mass remove verifyme requests greater than 4 months old
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: