Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-sizing/block-size-with-min-or-max-content-7.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<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="background: green; position: absolute; max-width: max-content; width: 200px; max-height: max-content; height: 200px;">
<div style="width: 100px; height: 100px;"></div>
</div>