summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/fieldset/positioned-container-1.html
blob: 04e81ca6b57d6846e9ade0108a416aae30e8b628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML>
<html>
<body>
<fieldset id="f" style="position:relative; overflow:hidden; width:500px; height:500px;">
  <legend>Legend</legend>
  <div style="height:1000px;">
    <div style="position:absolute; padding:2px; left:20px; top:50px; background:yellow;">Abs-pos</div>
  </div>
</fieldset>
<script>
f.scrollTop = 30;
</script>
</body>
</html>