Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / hixie / intrinsic / 002.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html lang="en">
3  <head>
4   <title>Replaced inline elements (using &lt;object&gt;) 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; }
11   </style>
12  </head>
13  <body>
14   <p>There&nbsp;should&nbsp;be&nbsp;an&nbsp;exact&nbsp;square&nbsp;of&nbsp;green&nbsp;below&nbsp;this&nbsp;line: <object data="resources/002.svg" type="image/svg+xml"> FAIL (SVG not supported) </object> </p>
15   <div></div>
16  </body>
17 </html>