Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / text / append-text-node-to-tspan.html
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
6 </head>
7 <body onload="runRepaintAndPixelTest()">
8 <svg style="position: absolute; top: 0; left: 0; width: 100%; height: 100%">
9     <title>You should see the word PASS three times</title>
10     <text transform="translate(10, 50) scale(10 10)" font-size="12">
11         <tspan x="0" y="12" id="modify">PA</tspan>
12         <tspan x="0" y="24">PASS</tspan>
13         <tspan x="0" y="36">PASS</tspan>
14     </text>
15 </svg>
16 </body>
17 <script>
18 function repaintTest() {
19     document.getElementById("modify").appendChild(document.createTextNode("SS"));
20 }
21 </script>
22 </html>