layout/reftests/bugs/243519-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/243519-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>CSS 2.1 Test Suite: Test for containing block for absolutely positioned elements being initial containing block</title>
     1.8 +<link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
     1.9 +<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
    1.10 +<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details" />
    1.11 +<meta name="assert" content="If there is no such ancestor, the containing block is the initial containing block." />
    1.12 +<meta name="flags" content="dom" />
    1.13 +<style>
    1.14 +html { margin:10px; border:20px solid black; padding:30px; }
    1.15 +body { height:10000px; margin:0; }
    1.16 +div { position:absolute; width:100px; height:100px; }
    1.17 +</style>
    1.18 +</head>
    1.19 +<body>
    1.20 +<script>
    1.21 +window.scrollTo(0,50);
    1.22 +</script>
    1.23 +<div style="top:0; background:yellow;"></div>
    1.24 +<div style="right:0; background:orange;"></div>
    1.25 +<div style="bottom:0; background:brown;"></div>
    1.26 +<div style="left:0; background:pink;"></div>
    1.27 +</body>
    1.28 +</html>

mercurial