blob: ebd851245f051ca336816ed66c62b48d2a3fcead [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" onload="init()">
<script type="text/javascript">
<![CDATA[
function init()
{
if (window.testRunner)
testRunner.dumpAsText();
var txt = document.getElementById("text");
size = document.getElementById("shape").getBBox();
var passState = "FAIL";
if(size.width == 100 && size.height == 37.5)
passState = "PASS";
var textNode = document.createTextNode(size.width + " " + size.height + " " + passState);
txt.appendChild(textNode);
}
]]>
</script>
<path id="shape" d="M100,100 C125,150 175,150 200,100 z" />
<text id="text" x="50" y="50" />
</svg>