svg-in-iframe-fixed.html (1209B)
1 <!DOCTYPE html> 2 <!-- This file is generated by gen-svgsizing-tests.py --> 3 <html> 4 <head> 5 <title>SVG sizing: <iframe></title> 6 <meta name=timeout content=long> 7 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharnessreport.js"></script> 9 <script src="../resources/svg-sizing.js"></script> 10 <style> 11 #testContainer { 12 position: absolute; 13 left: 0; 14 top: 0; 15 width: 800px; 16 height: 600px 17 } 18 iframe { border: 0 } 19 </style> 20 <link rel="help" href="http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-width"> 21 <link rel="help" href="http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-height"> 22 <link rel="help" href="https://html.spec.whatwg.org/multipage/#replaced-elements"> 23 <link rel="help" href="https://html.spec.whatwg.org/multipage/#attr-dim-width"> 24 <link rel="help" href="http://www.w3.org/TR/SVG/coords.html#ViewportSpace"> 25 </head> 26 <body> 27 <div id="log"></div> 28 <div id="testContainer"></div> 29 <div id="demo"></div> 30 <script src="svg-embedded-sizing.js"></script> 31 <script>testPlaceholderWithHeight("iframe", '100px')</script> 32 </body> 33 </html>