Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / auto-size / autowidth-abspos.html
1 <!doctype html>
2 <html>
3     <head>
4         <style>
5             #article { -webkit-flow-into: flow; width: 40px; height: 50px; background-color: green; }
6             #container { width: 200px; height: 200px; position: absolute; top: 150px; }
7             #region { -webkit-flow-from: flow; height: 50px; padding-left: 5px; padding-right: 5px; position: absolute; background-color: green; box-sizing: border-box; }
8             #red { position: absolute; width: 50px; height: 50px; top: 150px; background-color: red; }
9         </style>
10     </head>
11     <body>
12         <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=74135"> Auto width is not working for regions</a>.</p>
13         <p>The region is an absolutely positioned, non replaced element.</p>
14         <p>On success, you should not see a red rectangle below.</p>
15         <div id="red"></div>
16         <div id="article"></div>
17         <div id="container">
18             <div id="region"></div>
19         </div>
20     </body>
21 </html>