summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/normal-flow/intrinsic-size-with-negative-margins.html
blob: 93dfc3dfd770be960eec71bc00082a04e7385e97 (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<title>Intrinsic size of an atomic inline with negative margins.</title>
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#propdef-width">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="display: inline-block; border: solid green 25px; line-height: 0;">
  <div style="display: inline-block; width: 50px; height: 50px; margin-right: -100%; background: green;"></div>
</div>