testing/web-platform/tests/css/css-values/calc-size/calc-size-min-max-sizes-004.html
author dadaa <daisuke.akatsuka@birchill.co.jp>
Wed, 09 Jul 2025 04:53:58 +0000 (12 hours ago)
changeset 795836 a5500d271fe3a1fefb4d81d96fc4abd00d9eade7
parent 749944 64c0ba1ee4e8f83143932849c6fabf15af6521bd
permissions -rw-r--r--
Bug 1957280: Limit user's mouse amount for tree component r=places-reviewers,reusable-components-reviewers,masayuki,mstriemer Differential Revision: https://phabricator.services.mozilla.com/D251224
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-values-5/#calc-size">
<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="width: 0px;">
  <!-- The min-content, max-content size of this div should be: 100px, 120px respectively. -->
  <div style="background: green; width: fit-content; height: 100px;">
    <div style="width: calc-size(fit-content, size + 80px);">
       <span style="display: inline-block; width: 20px;"></span><span style="display: inline-block; width: 20px;"></span>
    </div>
  </div>
</div>