aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html/overflow-hidden.html
blob: 7a6ace51f7d78a855a1fb3647161bff704c90b00 (plain) (blame)
1
2
3
4
5
6
7
<div style="position: absolute; left: 0px; bottom: 0px; width: 100%; height: 48px; overflow: hidden; background: red;">
  <!-- vertical overflow -->
  <span style="display: inline-block; height: 32px; width: 32px; margin: 20px;"></span>
  <!-- horizontal overflow -->
  <div style="width: 40px; height: 40px; position: absolute; right: -40px;"></div>
</div>