SVG filters on HTML elements don't filter the background

RESOLVED INVALID

Status

()

--
enhancement
RESOLVED INVALID
8 years ago
7 years ago

People

(Reporter: pcwalton, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
If you apply a filter to an HTML element, it doesn't affect things beneath it. IMHO this would be more useful than the current behavior of affecting only the content; often you use SVG filters for things like background elements drawn over a page while a page-modal dialog is up on the screen.
(Reporter)

Updated

8 years ago
Severity: normal → enhancement
OS: Mac OS X → All
Hardware: x86 → All
The SVG spec is quite clear that SVG filters only affect the element. However, there is a "BackgroundImage" feature that lets the filter grab the background and manipulate it. We don't support that feature yet.
http://www.w3.org/TR/SVG/filters.html#AccessingBackgroundImage

Comment 2

7 years ago
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #1)
> The SVG spec is quite clear that SVG filters only affect the element.

Closing based on this comment.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.