1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <svg xmlns=
"http://www.w3.org/2000/svg" onload=
"init()">
3 <script type=
"text/javascript">
8 testRunner.dumpAsText();
9 var txt = document.getElementById(
"text");
10 size = document.getElementById(
"shape").getBBox();
11 var passState =
"FAIL";
12 if(size.width ==
100 && size.height ==
37.5)
14 var textNode = document.createTextNode(size.width +
" " + size.height +
" " + passState);
15 txt.appendChild(textNode);
19 <path id=
"shape" d=
"M100,100 C125,150 175,150 200,100 z" />
20 <text id=
"text" x=
"50" y=
"50" />