Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / text-xy-updates.svg
blobb17286a2d8a8c848c399125853d9595fd04df731
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3 <svg version="1.1" baseProfile="basic" id="svg-root" width="100%" height="100%"
4 xmlns:xlink="http://www.w3.org/1999/xlink"
5 xmlns="http://www.w3.org/2000/svg" onload="mytest()">
6 <script>
7 function mytest() {
8 var myText = document.getElementById("passed");
9 myText.setAttribute("x", "100");
10 myText.setAttribute("y", "100");
11 myText = document.getElementById("failed");
12 myText.setAttribute("x", "-10");
13 myText.setAttribute("y", "-10");
15 </script>
16 <text x="-10" y="-10" id="passed">Passed</text>
17 <text x="100" y="100" id="failed">Failed</text>
18 </svg>