| <!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> |