wpt / css / CSS2 / normal-flow / intrinsic-size-with-negative-margins.html

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/CSS2/normal-flow/intrinsic-size-with-negative-margins.html

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

/css/reference/ref-filled-green-100px-square-only.html

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<p>Test passes if there is a filled green square.</p>
<div style="width:100px; height:100px; background:green;"></div>