Closed Bug 780354 Opened 12 years ago Closed 12 years ago

SVG Mask gets transformed by transform of referencing element

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: krit, Unassigned)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached image ff-pattern-mask-bug.svg (deleted) —
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8) AppleWebKit/536.25 (KHTML, like Gecko) Version/6.0 Safari/536.25 Steps to reproduce: I created a mask with maskUnits userSpaceOnUse. The element that takes a mask has a transform. Actual results: This transform of the element gets applied to the mask as well. Expected results: The coordinate space of the mask is independent of the coordinate space of the rect. The mask should not be affected by the transformation of the element.
Component: Untriaged → SVG
Product: Firefox → Core
Seems to work for me on 14 and Trunk on Vista - displays a green square the same as Opera. What are you testing on and could you attach a screenshot please?
Attached image Result on OS X (deleted) —
This is what it shows for me on OS X Trunk (64Bit Mountain Lion) Toggling svg.display-lists.painting.enabled to false causes it to pain properly.
(In reply to Alex from comment #2) > Created attachment 648986 [details] > Result on OS X > > This is what it shows for me on OS X Trunk (64Bit Mountain Lion) > > Toggling svg.display-lists.painting.enabled to false causes it to pain > properly. It looks the same on Mac Mountain Lion with Firefox trunk for me. Half of the square is red, the other half green.
(In reply to Dirk Schulze from comment #3) > (In reply to Alex from comment #2) > > Created attachment 648986 [details] > > Result on OS X > > > > This is what it shows for me on OS X Trunk (64Bit Mountain Lion) > > > > Toggling svg.display-lists.painting.enabled to false causes it to pain > > properly. > > It looks the same on Mac Mountain Lion with Firefox trunk for me. Half of > the square is red, the other half green. Just checked, works on FF 13.0.1 and 14.0.1 for me. So it is a regression.
Blocks: 776054
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Fixed by bug 806432.
Status: NEW → RESOLVED
Closed: 12 years ago
Depends on: 806432
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: