| OLD | NEW | 
 | (Empty) | 
|   1 <!doctype html> |  | 
|   2 <html style="-webkit-writing-mode: vertical-lr"> |  | 
|   3     <head> |  | 
|   4         <style> |  | 
|   5             .container { position: relative; width: 100px; height: 100px; xborde
    r: 1px solid red; } |  | 
|   6             .region { -webkit-flow-from: flow; position: absolute; border: 1px s
    olid green; } |  | 
|   7             .anchoredVertically { left: 0px; right: 0px; } |  | 
|   8             .anchoredHorizontally { top: 0px; bottom: 0px; } |  | 
|   9  |  | 
|  10             #region2 { height: 50px; } |  | 
|  11             #region4 { width: 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"> [C
    SS 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-wi
    dth=100></div> |  | 
|  20         </div> |  | 
|  21  |  | 
|  22         <div class="container"> |  | 
|  23             <div id="region2" class="region anchoredVertically" data-expected-wi
    dth=100></div> |  | 
|  24         </div> |  | 
|  25  |  | 
|  26         <div class="container"> |  | 
|  27             <div id="region3" class="region anchoredHorizontally" data-expected-
    height=100></div> |  | 
|  28         </div> |  | 
|  29  |  | 
|  30         <div class="container"> |  | 
|  31             <div id="region4" class="region anchoredHorizontally" data-expected-
    height=100></div> |  | 
|  32         </div> |  | 
|  33  |  | 
|  34         <div class="container"> |  | 
|  35             <div id="region5" class="region anchoredHorizontally anchoredVertica
    lly" data-expected-width=100 data-expected-height=100></div> |  | 
|  36         </div> |  | 
|  37     </body> |  | 
|  38 </html> |  | 
| OLD | NEW |