A crash reproducible in Path::isEmpty() under RenderSVGShape::paint()
[WebKit-https.git] / LayoutTests / svg / custom / pattern-update-different-root.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5     svg {
6         width: 100px;
7         height: 100px;
8     }
9 </style>
10 </head>
11 <body>
12     <svg>
13         <pattern id="r1" width="100%" height="100%" xlink:href="#r2" patternUnits="userSpaceOnUse"/>
14         <rect width="100%" height="100%" fill="url(#r1)"/>
15     </svg>
16     <svg>
17         <pattern id="r2">
18             <rect width="100%" height="100%" fill="green"/>
19         </pattern>
20     </svg>
21 </body>
22 </html>