Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / foreignObject / foreign-object-defs-crash.svg
blob4c0e67f6b6025273351831758e461abbbf5158d9
1 <?xml version="1.0"?>
2 <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml">
3 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=87297 -->
4 <defs>
5 <g id="grp1">
6 <foreignObject width="400" height="200">
7 <xhtml:div xmlns="http://www.w3.org/1999/xhtml" style="position:absolute;"></xhtml:div>
8 </foreignObject>
9 </g>
11 <use xlink:href="#grp2"/>
12 </defs>
13 <g>
14 <use xlink:href="#grp1"/>
15 </g>
17 <g id="grp2">
18 <foreignObject width="400" height="200">
19 <xhtml:div xmlns="http://www.w3.org/1999/xhtml" style="position:absolute;"></xhtml:div>
20 </foreignObject>
21 </g>
23 <linearGradient>
24 <foreignObject>
25 <xhtml:div xmlns="http://www.w3.org/1999/xhtml" style="position:fixed;"></xhtml:div>
26 </foreignObject>
27 </linearGradient>
29 <text>PASS: did not crash.</text>
31 <script>
32 if (window.testRunner)
33 testRunner.dumpAsText();
34 </script>
35 </svg>