1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 xmlns=
"http://www.w3.org/1999/xhtml"
4 xmlns:
svg=
"http://www.w3.org/2000/svg">
6 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
7 <script type=
"text/javascript">
8 function createSVGLength(e
, value
) {
9 var result
= e
.ownerSVGElement
.createSVGLength();
14 function repaintTest() {
15 var e
= document
.getElementById("ttt");
16 e
.x
.baseVal
.initialize(createSVGLength(e
, 200));
17 e
.y
.baseVal
.initialize(createSVGLength(e
, 20));
21 <body onload=
"runRepaintAndPixelTest()">
23 xmlns=
"http://www.w3.org/2000/svg"
24 version=
"1.1" baseProfile=
"full" width=
"800" height=
"600">
25 <text id=
"ttt" x=
"10" y=
"200">Passes, if text is at
200x20
</text>