Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/flexbox-flex-direction-column-percentage-ignored.html
<!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>
/css/css-flexbox/reference/flexbox-flex-direction-column-percentage-ignored-ref.html
<!DOCTYPE html> <html> <style> .flexbox { max-height: 10px; overflow: hidden; } </style> <body> <div class="flexbox"> <div> The height here should be ignored. </div> </div>