summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-scroll-big-border-small-content-ref.html
blob: c7ea1807443ef1b2d454edd547e65c89a59cea16 (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<div id="scroller" style="overflow: scroll; width: 100px; height: 100px;
                          border: 100px solid white; background: green">
  <div style="height: 200px"></div>
</div>
<script>
onload = () => {
  scroller.scrollTo(0, 100);
};
</script>