| <!DOCTYPE html> |
| <title>CSS Flexbox: height of a child of a flexbox with flex-direction: column</title> |
| <link rel="help" href="https://drafts.csswg.org/css-flexbox/#definite-sizes"> |
| <link rel="bookmark" href="https://crbug.com/404337"> |
| <link rel="match" href="reference/flexbox-flex-direction-column-percentage-ignored-ref.html"> |
| <meta name="assert" content="This test ensures that the percentage height of child of a flexbox with 'flex-direction: column' and no explicit height but with max-height set should be treated as 'auto'."> |
| <link href="support/flexbox.css" rel="stylesheet"> |
| <style> |
| .flexbox { |
| max-height: 10px; |
| overflow: hidden; |
| } |
| </style> |
| |
| <div class="flexbox column"> |
| <div style="height: 1%"> |
| The height here should be ignored. |
| </div> |
| </div> |