Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / object-sizing.xhtml
blob3637d79eb409232ebe6493ace267884deab5df57
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 <head>
4 <title>viewbox test</title>
5 <style type="text/css">
6 object { height: 13em; background: orange }
7 div { background: green }
8 p { width: 13em; background: blue }
9 </style>
10 </head>
12 <body>
14 <div>
15 <object type="image/svg+xml" data="resources/red-circle.svg"></object>
16 </div>
18 <p>hi</p>
20 <h2>Expected results</h2>
21 <ul>
22 <li>The <code>div</code> containing the object appears in green</li>
23 <li>The <code>object</code> appears in orange. Its height is set at 13em</li>
24 <li>The blue line is 13em wide</li>
25 </ul>
27 </body>
29 </html>