summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/position-change-ref.html
blob: de797dec14b60191d7a4a8ca8554b38ba051791e (plain)
1
2
3
4
5
6
7
8
9
<!doctype HTML>
<title>CSS Test Reference</title>
<div style="position: relative; background: red; width: 100px; height: 100px; overflow: hidden;">
  <div style="overflow-y: scroll; width: 400px; height: 400px;">
    <div style="height: 100px; width: 100px; background: green;"></div>
    <!-- forces scrolling -->
    <div style="height: 700px;"></div>
  </div>
</div>