Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-sizing/nested-flexbox-image-percentage-max-height-computes-as-none.html
<!DOCTYPE html> <html> <head> <link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com"> <link rel="help" href="https://drafts.csswg.org/css2/#propdef-max-height"> <link rel="match" href="nested-flexbox-image-percentage-max-height-computes-as-none-ref.html"> <meta name="assert" content="Image percentage max-height cannot be resolved and used value should be none"> <style> body { height: 100px; } svg { position: relative; max-width: 100%; max-height: 100%; contain: size; contain-intrinsic-size: 60px 60px; aspect-ratio: 1/1; } .outer-flexbox { display: flex; width: 100%; height: 100%; } .outer-flexbox-item { position: relative; min-width: 100%; } .inner-flexbox { position: absolute; display: flex; inset: 0px; } </style> </head> <body> <div class="outer-flexbox"> <div class="outer-flexbox-item"> <div class="inner-flexbox"> <div> <svg viewBox="0 0 1 1" style="background: green"></svg> </div> </div> </div> </div> </body> </html>
/css/css-sizing/nested-flexbox-image-percentage-max-height-computes-as-none-ref.html
<!DOCTYPE html> <html> <head> <link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com"> <link rel="help" href="https://drafts.csswg.org/css2/#propdef-max-height"> <meta name="assert" content="Image percentage max-height cannot be resolved and used value should be none"> </head> <body> <img src="/css/support/60x60-green.png"> </body> </html>