Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / foreignObject / filter.html
1 <html>
2 <body style="margin: 0;">
3 <svg xmlns="http://www.w3.org/2000/svg">
4 <!-- The FO's red half should be filtered to white, with only the green half visible. -->
5 <defs>
6 <filter id="filter">
7     <feColorMatrix type="matrix" values="1,0,0,0,0, 1,1,0,0,0, 1,0,1,0,0, 0,0,0,1,0"/>
8 </filter>
9 </defs>
10 <foreignObject width="200" height="100" filter="url(#filter)" opacity=".5">
11     <html xmlns="http://www.w3.org/1999/xhtml">
12     <body>
13         <div style="background: green; height: 50px;"></div>
14         <div style="background: red; height: 50px;"></div>
15     </body>
16     </html>
17 </foreignObject>
18 </svg>
19 </body>
20 </html>