Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>SVG image flex item with no intrinsic dimensions falls back to 150px height in column flex container</title>
<link rel="match" href="flex-svg-no-intrinsic-column-001-ref.html">
<style>
.container {
display: flex;
flex-direction: column;
width: 150px;
height: 0;
}
img {
background: green;
}
</style>
<p>Test passes if there is a filled green square.</p>
<div class="container">
</div>