summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-sizing/intrinsic-1n.html
blob: 5328e03ab6acd2c761ab3d3e8112ed2a4d1f01f1 (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<body>
  <div style="display: inline-block; background: blue;
              height: 40px;
              border: 80px transparent solid">
    <!-- We need to be shorter than intrinsic height, so use a max-height -->
    <img src="lime100x100.png"
         style="max-height: 100%; display: block; visibility: hidden;">
  </div>
</body>