summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/fieldset/sticky-legend-1.html
blob: 588ea521ff68cfd48c66b5ff3f3d57ecaecae9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE HTML>
<html>
<body>
<fieldset style="overflow:hidden; height:300px;">
  <legend style="position:sticky; top:0;"><div style="width:200px; height:50px; background:yellow;"></div></legend>
</fieldset>
<div style="height:5000px;"></div>
<script>
window.scrollTo(0,100);
</script>
</body>
</html>