Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/normal-flow/intrinsic-size-with-negative-margins.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Intrinsic size of an atomic inline with negative margins.</title>
<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>