Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <svg xmlns="http://www.w3.org/2000/svg" version="1.1" |
michael@0 | 2 | class="reftest-wait"> |
michael@0 | 3 | |
michael@0 | 4 | <title>Testcase for dynamic changes of rotate attributes</title> |
michael@0 | 5 | |
michael@0 | 6 | <!-- based on http://www.w3.org/TR/SVG/images/text/tspan05.svg --> |
michael@0 | 7 | |
michael@0 | 8 | <script type="text/javascript"> |
michael@0 | 9 | |
michael@0 | 10 | document.addEventListener("MozReftestInvalidate", go, false); |
michael@0 | 11 | setTimeout(go, 4000); // fallback for running outside reftest |
michael@0 | 12 | |
michael@0 | 13 | function go() { |
michael@0 | 14 | document.getElementById("parent").setAttribute("rotate", "5,15,25,35,45,55"); |
michael@0 | 15 | document.getElementById("child1").setAttribute("rotate", "-10,-20,-30,-40"); |
michael@0 | 16 | document.getElementById("child2").setAttribute("rotate", "70,60,50,40,30,20,10"); |
michael@0 | 17 | document.getElementById("child5").setAttribute("rotate", "-10"); |
michael@0 | 18 | document.documentElement.removeAttribute("class"); |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | </script> |
michael@0 | 22 | <text id="parent" font-size="32" x="40" y="40"> |
michael@0 | 23 | Not |
michael@0 | 24 | |
michael@0 | 25 | <tspan id="child1"> |
michael@0 | 26 | all characters |
michael@0 | 27 | |
michael@0 | 28 | <tspan id="child2"> |
michael@0 | 29 | in |
michael@0 | 30 | |
michael@0 | 31 | <tspan id="child3"> |
michael@0 | 32 | the |
michael@0 | 33 | </tspan> |
michael@0 | 34 | </tspan> |
michael@0 | 35 | |
michael@0 | 36 | <tspan x="40" y="90" id="child4"> |
michael@0 | 37 | text |
michael@0 | 38 | </tspan> |
michael@0 | 39 | |
michael@0 | 40 | have a |
michael@0 | 41 | </tspan> |
michael@0 | 42 | |
michael@0 | 43 | <tspan id="child5" rotate="90"> |
michael@0 | 44 | specified |
michael@0 | 45 | </tspan> |
michael@0 | 46 | |
michael@0 | 47 | rotation |
michael@0 | 48 | </text> |
michael@0 | 49 | </svg> |