Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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="display: flex; width: 0px; height: 100px;">
<!-- The auto min-size is 60px (the content-size suggestion), then through the calc-size() is 100px. -->
<div style="min-width: calc-size(auto, size + 40px); width: 80px; background: green;">
<div style="width: 60px;"></div>
</div>
</div>