summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/compat/webkit-box-fixed-position-child.html
blob: bb61b63133b402e92d0444e7afb3f4c4b9f311c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<title>Verifies changing 'display' with a fixed position webkit-box that
  has a fixed position child</title>
<body>
  <div id="outer" style="position:fixed;">
  <div style="display:-webkit-box; float:left; padding-left:100%;">
    <div style="position:fixed; width:100px; height:100px;"></div>
  </div>
  <div style="display:inline-block; width:100px; height:20px;"></div>
</div>
<div id="elm"></div>
A
</body>
<script>
  document.body.offsetTop;
  elm.style.display = 'none';
</script>