Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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="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>