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">
5 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
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 transform=
"translate(10, 50) scale(10 10)" font-size=
"12">
11 <tspan x=
"0" y=
"12" id=
"modify">FAIL
</tspan>
12 <tspan x=
"0" y=
"24">PASS
</tspan>
13 <tspan x=
"0" y=
"36">PASS
</tspan>
18 function repaintTest() {
19 document.getElementById(
"modify").removeChild(document.getElementById(
"modify").firstChild);