layout/reftests/abs-pos/fixed-pos-auto-offset-1-ref.html

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

mercurial