Closed Bug 1162819 Opened 9 years ago Closed 9 years ago

SVG is cropped when drop-shadow CSS filter is applied

Categories

(Core :: SVG, defect)

37 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1153845
mozilla41

People

(Reporter: vladimirs, Assigned: mstange)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

Steps to reproduce:

1. Create an inline SVG with viewBox="0 0 115 190"
2. Set the width of the SVG in CSS to be larger than the viewBox width: svg {width: 200px;}
3. Add CSS drop-shadow filter: filter: drop-shadow(0px 0 5px #000);

Here's a demo:
http://jsbin.com/ponukolopu/1/edit?html,css,output


Actual results:

SVG image is cropped.


Expected results:

SVG image should not be cropped. Chrome and Safari are not cropping the image.
This may be the same as bug 1153845.
Assignee: nobody → mstange
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Looks like bug 1153845 fixed this.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.