RESOLVED FIXED 43156
Blur filter does not work on SVG + XHTML
https://bugs.webkit.org/show_bug.cgi?id=43156
Summary Blur filter does not work on SVG + XHTML
chetankjain
Reported 2010-07-28 15:44:55 PDT
Below is my .xhtml file, which is correctly rendered and blurred in Firefox browser, but only shows original SVG without any blur filter when I load it in QWebView. My version is the one with Qt 4.7 beta 2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg"> <body> <object type="image/svg+xml" style="border:none; width:270px; height:270px; background: white" data="tiger.svg"></object> <svg:svg> <svg:filter id="b15"> <svg:feGaussianBlur stdDeviation="15"/> </svg:filter> </svg:svg> </body> <style> object { filter:url(#b15); } </style> </html>
Attachments
chetankjain
Comment 1 2010-08-03 22:36:22 PDT
If the svg file already has the svg blur filter, webkit renders it fine, but the above example fails!
Stephen Heuer
Comment 2 2010-12-23 13:02:37 PST
I have a system that applies a blur filter to miscellaneous divs on a page. It works in Firefox 4 beta, but not in any webkit based browsers. I imagine that is related to this bug.
Ariya Hidayat
Comment 3 2010-12-23 17:21:28 PST
Does not work in Opera 11.
Ariya Hidayat
Comment 4 2010-12-23 17:23:46 PST
This is definitely not Qt specific.
Dirk Schulze
Comment 5 2010-12-23 22:46:46 PST
SVG Filters can only be applied on SVG objects IIRC. I know that Firefox supports masks, clippers and filters on any element in an XHTML document, but that is not specified by the W3C yet. There are open questions about the bounding box of an HTML element. Not sure if it will be specified like FF is doing it at all. I'd say this bug is a WONTFIX for now.
Dirk Schulze
Comment 6 2016-10-12 06:05:58 PDT
It does work since we support CSS Filters
Note You need to log in before you can comment on or make changes to this bug.