layout/reftests/w3c-css/submitted/values3/calc-offsets-absolute-top-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/submitted/values3/calc-offsets-absolute-top-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>CSS Reference: Test for top:calc() on absolutely positioned elements</title>
     1.8 +  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
     1.9 +  <meta name="flags" content="">
    1.10 +<style type="text/css">
    1.11 +body { margin: 0 }
    1.12 +body > div { float: left; height: 100px; width: 3px; }
    1.13 +div[style] { background: blue; position: relative; height: 10px; }
    1.14 +</style>
    1.15 +</head>
    1.16 +<body>
    1.17 +
    1.18 +<!-- tests with a fixed-height container -->
    1.19 +<div><div style="top: 50px"></div></div>
    1.20 +<div><div style="top: 50px"></div></div>
    1.21 +<div><div style="top: 75px"></div></div>
    1.22 +<div><div style="top: 45px"></div></div>
    1.23 +<div><div style="top: 40px"></div></div>
    1.24 +<div><div style="top: 30px"></div></div>
    1.25 +
    1.26 +<!-- tests with an auto-top container -->
    1.27 +<div><div style="top: 50px"></div></div>
    1.28 +<div><div style="top: 50px"></div></div>
    1.29 +<div><div style="top: 75px"></div></div>
    1.30 +<div><div style="top: 45px"></div></div>
    1.31 +<div><div style="top: 40px"></div></div>
    1.32 +<div><div style="top: 30px"></div></div>
    1.33 +</body>
    1.34 +</html>

mercurial