WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
53083
SVG: "filter" style not applied to "div"s in xhtml "foreignObject"s
https://bugs.webkit.org/show_bug.cgi?id=53083
Summary
SVG: "filter" style not applied to "div"s in xhtml "foreignObject"s
Berend-Jan Wever
Reported
2011-01-25 06:42:59 PST
Created
attachment 80059
[details]
Repro Chromium bug:
http://code.google.com/p/chromium/issues/detail?id=70760
Repro: <?xml version="1.0" standalone="yes"?> <svg xmlns="
http://www.w3.org/2000/svg
"> <defs> <filter id="Gaussian_Blur"> <feGaussianBlur in="SourceGraphic" stdDeviation="5"/> </filter> </defs> <g style="filter:url(#Gaussian_Blur)"> <foreignObject x="0" y="0" width="100%" height="100%"> <body xmlns="
http://www.w3.org/1999/xhtml
" style="margin:0px;padding:50px"> <div style="border:10px solid red;width:30px;height:30px"></div> <span style="border:10px solid green;width:30px;height:30px"></span> </body> </foreignObject> </g> </svg> The red "div" element is not blurred, the green "span" element is.
Attachments
Repro
(600 bytes, image/svg+xml)
2011-01-25 06:42 PST
,
Berend-Jan Wever
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Berend-Jan Wever
Comment 1
2011-01-25 09:59:37 PST
Note: a span with style="display:block;" will not get blurred either.
Berend-Jan Wever
Comment 2
2011-01-25 10:05:41 PST
Work-around: use <body style="display:inline-block;"> and the span and div are both blurred.
Dirk Schulze
Comment 3
2014-05-12 06:04:14 PDT
Works now
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug