Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / text / remove-tspan-from-text.html
blobbba5dc13a4fd3980a3e875ab439358115c082ceb
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 two times</title>
10 <text id="text" transform="translate(10, 50) scale(10 10)" font-size="12">
11 <tspan x="0" y="12">PASS</tspan>
12 <tspan x="0" y="12" id="remove">FAIL</tspan>
13 <tspan x="0" y="24">PASS</tspan>
14 </text>
15 </svg>
16 </body>
17 <script>
18 function repaintTest() {
19 document.getElementById("text").removeChild(document.getElementById("remove"));
21 </script>
22 </html>