Closed Bug 380207 Opened 17 years ago Closed 4 years ago

canvas caches patterns so transforms don't work on patterns

Categories

(Core :: Graphics: Canvas2D, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ian, Unassigned)

References

Details

STEPS TO REPRODUCE
 1. Create a pattern, use it for the fillStyle().
 2. FillRect() nothing.
 3. Translate.
 4. FillRect(). -> A
 5. Create a pattern, use it for the fillStyle().
 6. Translate.
 7. FillRect(). -> B

EXPECTED RESULTS
 A and B should look the same.

ACTUAL RESULTS
 Cairo caches the patterns so the translate is ignored.

TESTCASES
 http://www.hixie.ch/tests/adhoc/html/canvas/021.html
 http://www.hixie.ch/tests/adhoc/html/canvas/022.html

See also bug 329598. I'm busy specifying this in more detail, so expect more detail soon. Ping me if you don't have it by 2007-05-15.
(This is canvas doing the caching, not cairo itself.)
Summary: Cairo caches patterns so transforms don't work on patterns → canvas caches patterns so transforms don't work on patterns
Unsure of the priority this should have. P2/P4?
Priority: -- → P2
This seems fixed with azure canvas.
Depends on: 721424
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3

Rendering seems to match the description.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.