1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/box/flexbox-abspos-container-1a.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +<!-- Any copyright is dedicated to the Public Domain. 1.5 + http://creativecommons.org/publicdomain/zero/1.0/ --> 1.6 +<!-- This testcase has a relatively-positioned -moz-box element, which should 1.7 + form a containing block for its absolutely positioned child. --> 1.8 +<html> 1.9 + <head> 1.10 + <style> 1.11 + .box { display: -moz-box } 1.12 + .relpos_parent { 1.13 + position: relative; 1.14 + width: 100px; 1.15 + height: 100px; 1.16 + background: lightblue; 1.17 + } 1.18 + .abspos_child { 1.19 + position: absolute; 1.20 + left: 30px; 1.21 + bottom: 10px; 1.22 + width: 20px; 1.23 + height: 20px; 1.24 + background: purple; 1.25 + } 1.26 + </style> 1.27 + </head> 1.28 + <body> 1.29 + <div class="box relpos_parent"> 1.30 + <div class="abspos_child"></div> 1.31 + </div> 1.32 + </body> 1.33 +</html>