replaced-element-016.tentative.html (830B)
1 <!DOCTYPE html> 2 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 3 <link rel="author" title="Mozilla" href="https://mozilla.org"> 4 <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#min-content-zero"> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1308929"> 6 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/12133"> 7 <meta name="assert" content="A replaced element with a percentage block-size doesn't compress the min-content contribution on its block axis to zero."> 8 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> 9 10 <p>Test passes if there is a filled green square.</p> 11 <div style="display: grid; grid-template-rows: min-content;"> 12 <canvas width="100" height="100" style="background: green; block-size: 100%"></canvas> 13 </div>