Status: PASS | Duration: 6ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-sizing/block-fit-content-as-initial.html
<!DOCTYPE html> <title>CSS Test: Test `fit-content` for block axis behaves the same as the initial value</title> <link rel="match" href="block-fit-content-as-initial-ref.html"> <link rel="help" href="https://www.w3.org/TR/css-sizing-3/#valdef-width-fit-content-length-percentage"> <link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> <style> .parent { height: fit-content; } .child { max-height: 100%; } </style> <body> <div class='parent'> <img class='child' src='../support/60x60-green.png'> </div> </body>
/css/css-sizing/block-fit-content-as-initial-ref.html
<!DOCTYPE html> <body> <div class='parent'> <img class='child' src='../support/60x60-green.png'> </div> </body>