Bug 43156 - Blur filter does not work on SVG + XHTML
Summary: Blur filter does not work on SVG + XHTML
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 68469
  Show dependency treegraph
 
Reported: 2010-07-28 15:44 PDT by chetankjain
Modified: 2016-10-12 06:05 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chetankjain 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>
Comment 1 chetankjain 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!
Comment 2 Stephen Heuer 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.
Comment 3 Ariya Hidayat 2010-12-23 17:21:28 PST
Does not work in Opera 11.
Comment 4 Ariya Hidayat 2010-12-23 17:23:46 PST
This is definitely not Qt specific.
Comment 5 Dirk Schulze 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.
Comment 6 Dirk Schulze 2016-10-12 06:05:58 PDT
It does work since we support CSS Filters