Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / as-object / resources / nested-embedded-svg-size-changes-target-no-layout-triggers-1.html
blob4f4511cc356240288938f4f56697e31325b773a2
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <body style="margin: 0px">
3 <script>
4 function changeSize() {
5 // Forward size change request to embedded SVG document.
6 var myObject = document.getElementsByTagName("object")[0];
7 var svgDoc = myObject.getSVGDocument();
8 var svgWindow = svgDoc.defaultView;
9 svgWindow.changeSize();
11 </script>
12 <object onload="changeSize()" data="embedded-svg-size-changes.svg"></object>
13 </body>
14 </html>