Closed Bug 634493 Opened 13 years ago Closed 13 years ago

SVG filters on HTML elements don't filter the background

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: pcwalton, Unassigned)

Details

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.
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
(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
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.