summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/block-image-percentage-max-height-inside-inline.html
blob: 2f6ad684c1fb0be5498dc6a5b938da67adfe3ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#max-size-properties">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="width:100px; height:100px; background:red;">
  <span>
    <!-- The image is a 1x1 transparent one. -->
    <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" style="display:block; max-width:100px; height:1000px; max-height:100%; background:green;">
  </span>
</div>