1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
4 <title>Replaced inline elements (using <object>) and SVG intrinsic widths (negative test equivalent of 001.html)</title>
5 <style type="text/css">
6 html { width: 150px; padding: 0; margin: 8px; position: relative; }
7 body { padding: 0; margin: 0; }
8 p { font: 16px/20px serif; padding: 0; margin: 0; }
9 object { width: auto; height: auto; } /* intrinsic size is 100%x100%, which is equivalent to width:100% height:auto (since height:auto on parent) */
10 div { position: absolute; top: 20px; left: 0; height: 150px; width: 150px; background: green; }
14 <p>There should be an exact square of green below this line: <object data="resources/002.svg" type="image/svg+xml"> FAIL (SVG not supported) </object> </p>