1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/box/flexbox-abspos-container-1d.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 is the same as the -1c version, but with -moz-inline-box. --> 1.7 +<html> 1.8 + <head> 1.9 + <style> 1.10 + .box { display: -moz-inline-box } 1.11 + .relpos_parent { 1.12 + position: relative; 1.13 + width: 100px; 1.14 + height: 100px; 1.15 + background: lightblue; 1.16 + } 1.17 + .abspos_child { 1.18 + position: absolute; 1.19 + left: 30px; 1.20 + bottom: 10px; 1.21 + width: 20px; 1.22 + height: 20px; 1.23 + background: purple; 1.24 + } 1.25 + </style> 1.26 + </head> 1.27 + <body> 1.28 + <div class="box"> 1.29 + <div class="box relpos_parent"> 1.30 + <div class="abspos_child"></div> 1.31 + </div> 1.32 + </div> 1.33 + </body> 1.34 +</html>