Closed Bug 782972 Opened 12 years ago Closed 12 years ago

Mask+Filter wrong clipping on embedding in HTML with different ratio

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: krit, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(3 files)

Attached image Example SVG files
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20120812030538

Steps to reproduce:

Embedded and SVG image that has Mask+Filter in an HTML document. The ratio does not fit, so the SVG gets scaled.


Actual results:

The Mask gets clipped on the right.


Expected results:

No clipping of the mask.
Open this html document to see the issue.
Attachment #652114 - Attachment mime type: text/plain → text/html
Component: General → SVG
Works OK in Firefox 14.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Setting svg.display-lists.painting.enabled to false also fixes it.
Blocks: 614732
Keywords: testcase
OS: Mac OS X → All
Tried in Firefox 16. Seems to work now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Can you try it in a nightly please?
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
It's broken there.
Status: REOPENED → NEW
Blocks: 776054
No longer blocks: 614732
Attached image reduced testcase
I reduced the reported files by giving the SVG a viewBox instead of embedding it in an HTML <img>, then removing the gradient, then removing the filter. At each step the issue was still reproducible, and the result is this testcase. So this will probably turn out to be a straightforward duplicate of bug 780354.
Fixed by bug 806432.
Status: NEW → RESOLVED
Closed: 12 years ago12 years ago
Depends on: 806432
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: