Closed Bug 1167484 Opened 10 years ago Closed 10 years ago

Scaled down SVG with filter:drop-shadow gets covered up

Categories

(Core :: SVG, defect)

40 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: pehrsons, Unassigned)

Details

Attachments

(2 files)

See the attachment. Having a (here fully transparent) drop-shadow on the svg element covers it up on the left and top sides.
Removing the filter:drop-shadow style completely does not cover anything up. I would have expected the test case and the reference to be identical. Works as expected in Chrome.
The viewBox transform does not apply to the drop-shadow as viewBox transforms only apply to descendents, so the box shadow is a different size to the size you're expecting it to be. Move the drop-shadow to the <g> element an it will work as you expect it to.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: