aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/reference/containing-block-dynamic-1-ref.xht
blob: 1c1eb392f0e6967308ff3159d08d45f16e60c47a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
<title>CSS transforms: Creating containing block for fixed positioned elements</title>
<link href="http://dbaron.org/" rel="author" title="L. David Baron" />
<link href="http://www.mozilla.org/" rel="author" title="Mozilla" />
<style>
  html, body { margin: 0; padding: 0 }
  #fixedmoves {
    position: absolute;
    top: 150px;
    left: 150px;
    background: green;
    height: 100px;
    width: 100px;
  }
</style>
</head><body>
  <div id="fixedmoves"></div>

</body></html>