summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/whitespace-and-break.html
blob: f3ea3764478488b949433daccddf710cd0a91006 (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<title>Collapsable whitespace and break after inline-block</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#intrinsic-sizes" title="4.1. Intrinsic Sizes">
<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:fit-content; background:red;">
  <div style="display:inline-block; vertical-align:top; width:100px; height:100px; background:green;"></div>
  <br>
</div>