summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-scrolled-ref.html
blob: 7429cadf7d8fe23765223465d5b58a2dee75ae9c (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<div style="width: 100px; height: 100px; border: solid; box-sizing: border-box">
  <div id="cell" style="width: 100%; height: 100%; background: green; overflow: auto">
     <div style="width: 200px; height: 50px; background: hotpink; border: 2px solid yellow"></div>
   </div>
</div>
<script>
onload = () => {
  cell.scrollLeft = 120;
}
</script>