1 <?xml version=
"1.0" standalone=
"no"?>
2 <svg width=
"200" height=
"200" xmlns=
"http://www.w3.org/2000/svg">
3 <text y=
"50" id='x'
><tspan id='y'
>Test
</tspan></text>
4 <text y=
"100" id='status'
/>
8 testRunner.dumpAsText();
10 var length1 = document.getElementById('x').getComputedTextLength();
11 var length2 = document.getElementById('y').getComputedTextLength();
12 if (length1 == length2) {
13 document.getElementById('status').textContent =
"PASS";
15 document.getElementById('status').textContent =
"FAIL";