Status: FAIL | Duration: 13ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-sizing/intrinsic-percent-replaced-030.tentative.html
<!DOCTYPE html> <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#min-content-zero"> <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1308929"> <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/12133"> <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> <meta name="assert" content="A replaced element with a percentage max-block-size doesn't compress the min-content contribution on its block axis to zero."> <p>Test passes if there is a filled green square.</p> <div style="inline-size: min-content"> <canvas width="200" height="200" style="writing-mode:vertical-rl; background: green; max-block-size: 50%"></canvas> </div>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>