Status: FAIL | Duration: 16ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-contain/content-visibility/content-visibility-auto-intrinsic-width.html
<!doctype HTML> <html> <meta charset="utf8"> <title>Content Visibility: Elements with content-visibility: auto and intrinsic width should render correctly</title> <link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com"> <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility"> <link rel="match" href="container-ref.html"> <meta name="assert" content="Elements with content-visibility: auto and intrinsic width should render correctly"> <style> #container { content-visibility: auto; width: max-content; background: lightblue; } #child { width: 150px; height: 150px; } </style> <div id="container"> <div id="child"></div> </div>
/css/css-contain/content-visibility/container-ref.html
<!doctype HTML> <html> <meta charset="utf8"> <title>CSS Content Visibility: container (reference)</title> <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility"> <style> #container { width: 150px; height: 150px; background: lightblue; } </style> <div id=container></div>