Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 4 | --> |
michael@0 | 5 | <svg xmlns="http://www.w3.org/2000/svg" version="1.1" |
michael@0 | 6 | xmlns:html="http://www.w3.org/1999/xhtml" |
michael@0 | 7 | xmlns:xlink="http://www.w3.org/1999/xlink"> |
michael@0 | 8 | <title>Testing that foreignobject works in filters</title> |
michael@0 | 9 | <foreignObject id="fo1" x="150" y="50" width="50" height="50"> |
michael@0 | 10 | <html:div style="width:100%; height:100%; background:lime;"> |
michael@0 | 11 | </html:div> |
michael@0 | 12 | </foreignObject> |
michael@0 | 13 | <foreignObject id="fo2" x="150" y="150" width="50" height="50" filter="url(#f1)"> |
michael@0 | 14 | <html:div style="width:100%; height:100%; background:lime;"> |
michael@0 | 15 | </html:div> |
michael@0 | 16 | </foreignObject> |
michael@0 | 17 | <filter id="f1" x="0" y="0" width="100%" height="100%"> |
michael@0 | 18 | <feOffset/> |
michael@0 | 19 | </filter> |
michael@0 | 20 | </svg> |