1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/abs-pos/fixed-pos-auto-offset-1b.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 + <!-- Important: no meta charset! --> 1.8 + <title>Testcase Bug 851514</title> 1.9 + <style> 1.10 + #parent { 1.11 + position: fixed; 1.12 + height: 30px; 1.13 + width: 30px; 1.14 + background: green; 1.15 + left: 70px; 1.16 + top: 70px; 1.17 + overflow: hidden; 1.18 + } 1.19 + #child { 1.20 + position: fixed; 1.21 + top: auto; 1.22 + left: auto; 1.23 + width: 10px; 1.24 + height: 10px; 1.25 + background: purple; 1.26 + } 1.27 + </style> 1.28 +</head> 1.29 +<body> 1.30 + <div id="parent"> 1.31 + <div id="child"></div> 1.32 + </div> 1.33 + The purple block should be inside the green block. 1.34 +</body> 1.35 +</html>