blob: f607911155f307ba1df6812622b7f7356d7a08bc [file] [log] [blame]
<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>