summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-sizing/intrinsic-1l.html
blob: 38f4cef8b7ae78130d3e2e2b80c1edb73ee0217e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<body>
  <div style="display: inline-block; background: blue;
              box-sizing: border-box; height: 200px;
              border: 25px transparent solid">
    <div style="height: 100%; box-sizing: border-box;
                border: 15px transparent solid;">
      <!-- We need to be taller than intrinsic height, so use a min-height -->
      <img src="lime100x100.png"
           style="min-height: 100%; display: block; visibility: hidden;">
    </div>
  </div>
</body>