- add third_party src.
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / auto-size / autosize-abspos-anchoredregion.html
1 <!doctype html>
2 <html>
3     <head>
4         <style>
5             .container { position: relative; width: 100px; height: 100px; border: 1px solid red; }
6             .region { -webkit-flow-from: flow; position: absolute; border: 1px solid green; }
7             .anchoredVertically { top: 0px; bottom: 0px; }
8             .anchoredHorizontally { left: 0px; right: 0px; }
9
10             #region2 { width: 50px; }
11             #region4 { height: 50px; }
12         </style>
13     </head>
14     <script src="../../../resources/check-layout.js"></script>
15     <body onload="checkLayout('.region')">
16         <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=102385"> [CSS Regions] Absolutely positioned regions do not expand to fill their container</a>.</p>
17         <p>On success, you should not see FAIL below.</p>
18         <div class="container">
19             <div id="region1" class="region anchoredVertically" data-expected-height=100></div>
20         </div>
21
22         <div class="container">
23             <div id="region2" class="region anchoredVertically" data-expected-height=100></div>
24         </div>
25
26         <div class="container">
27             <div id="region3" class="region anchoredHorizontally" data-expected-width=100></div>
28         </div>
29
30         <div class="container">
31             <div id="region4" class="region anchoredHorizontally" data-expected-width=100></div>
32         </div>
33
34         <div class="container">
35             <div id="region5" class="region anchoredHorizontally anchoredVertically" data-expected-width=100 data-expected-height=100></div>
36         </div>
37     </body>
38 </html>