<html xmlns="http://www.w3.org/1999/xhtml">
<body style="margin: 0px">
<script>
function changeSize() {
    // Forward size change request to embedded SVG document.
    var myObject = document.getElementsByTagName("object")[0];
    var svgDoc = myObject.getSVGDocument();
    var svgWindow = svgDoc.defaultView;
    svgWindow.changeSize();

    if (window.testRunner)
        testRunner.notifyDone();
}
</script>
<object onload="changeSize()" data="embedded-svg-size-changes.svg"></object>
</body>
</html>
