summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/position-absolute-under-non-containing-stacking-context-ref.html
blob: ceade7bafe9cc0510a2080b4a9ec5e7514469dcf (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<div id="scroller" style="width: 200px; height: 200px; overflow: auto">
  <div style="height: 0; opacity: 0.5; margin: 250px">
    <div style="width: 100px; height: 100px; background: green"></div>
  </div>
</div>
<script>
scroller.scrollTo(200, 200);
</script>