summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-ref.html
blob: 695ba5341ed93f55dd28f34a8f2e7133a23f454a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<div style="width: 100px; height: 100px; border: solid;">
  <div style="max-width: 100px; height: 100px; background: green; overflow-x: scroll;">
     <div style="width: 120px; height: 50px; background: hotpink;"></div>
   </div>
</div>
<br>
<div style="width: 100px; height: 100px; border: solid;">
  <div style="display: table-cell; max-width: 100px; height: 100px; background: green; overflow-x: scroll; vertical-align: middle;">
     <div style="width: 120px; height: 50px; background: hotpink;"></div>
   </div>
</div>