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