layout/reftests/svg/dynamic-use-nested-01b.svg

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:e97b2fde2905
1 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 onload="setTimeout(boom, 50);" class="reftest-wait">
4
5 <script><![CDATA[
6
7 // reftest for bug 467498
8
9 function boom()
10 {
11 var rect = document.getElementById("rect");
12 rect.setAttribute("height", "100%");
13 document.documentElement.removeAttribute('class');
14 }
15
16 ]]></script>
17
18 <g style="fill: blue;">
19 <g id="g1">
20 <rect id="rect" x="20%" width="4%" height="20%"/>
21 </g>
22 </g>
23
24 <g style="fill: green;">
25 <g id="g2">
26 <use x="20%" xlink:href="#g1"/>
27 </g>
28 </g>
29
30 <g style="fill: red;">
31 <use x="20%" xlink:href="#g2"/>
32 </g>
33
34 </svg>

mercurial