1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/box/flexbox-abspos-container-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 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. Also: in 1.8 + this case, the child is taller than its container. --> 1.9 +<html> 1.10 + <head> 1.11 + <style> 1.12 + .box { display: -moz-box } 1.13 + .relpos_parent { 1.14 + position: relative; 1.15 + width: 100px; 1.16 + height: 100px; 1.17 + background: lightblue; 1.18 + } 1.19 + .abspos_child { 1.20 + position: absolute; 1.21 + left: 30px; 1.22 + top: 10px; 1.23 + width: 20px; 1.24 + height: 150px; 1.25 + background: purple; 1.26 + } 1.27 + </style> 1.28 + </head> 1.29 + <body> 1.30 + <div class="box relpos_parent"> 1.31 + <div class="abspos_child"></div> 1.32 + </div> 1.33 + </body> 1.34 +</html>