Bug 777574 - Skip quickCheckAPI-B2.html on Linux. r=bjacob, a=test-only
[gecko.git] / layout / reftests / svg / dynamic-text-04.svg
blobb2fab69ac5cb2a155a86a1f1d66859b20ecc0316
1 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
2 class="reftest-wait">
4 <title>Testcase for dynamic changes of rotate attributes</title>
6 <!-- based on http://www.w3.org/TR/SVG/images/text/tspan05.svg -->
8 <script type="text/javascript">
10 document.addEventListener("MozReftestInvalidate", go, false);
11 setTimeout(go, 4000); // fallback for running outside reftest
13 function go() {
14 document.getElementById("parent").setAttribute("rotate", "5,15,25,35,45,55");
15 document.getElementById("child1").setAttribute("rotate", "-10,-20,-30,-40");
16 document.getElementById("child2").setAttribute("rotate", "70,60,50,40,30,20,10");
17 document.getElementById("child5").setAttribute("rotate", "-10");
18 document.documentElement.removeAttribute("class");
21 </script>
22 <text id="parent" font-size="32" x="40" y="40">
23 Not
25 <tspan id="child1">
26 all characters
28 <tspan id="child2">
31 <tspan id="child3">
32 the
33 </tspan>
34 </tspan>
36 <tspan x="40" y="90" id="child4">
37 text
38 </tspan>
40 have a
41 </tspan>
43 <tspan id="child5" rotate="90">
44 specified
45 </tspan>
47 rotation
48 </text>
49 </svg>