Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-values/viewport-units-scrollbars-scroll-vw-002.html
<!doctype html> <html style="overflow: scroll; scrollbar-width: thin;"> <title>CSS Values and Units Test: Viewport units and scrollbars</title> <meta name="assert" content="There is no horizontal overflow when 100vw is reduced by scrollbar width when the scrollbars are unconditional, with scrollbar-width:thin"> <link rel="help" href="http://www.w3.org/TR/css3-values/#viewport-relative-lengths"> <link rel="match" href="viewport-units-scrollbars-scroll-vw-002-ref.html"> <body style="margin: 0; padding: 0;"> <p> Pass Condition: There is no horizontal overflow. </p> <div style="width: 100vw; height: 100px; background: orange;"></div> </body> </html>
/css/css-values/viewport-units-scrollbars-scroll-vw-002-ref.html
<!doctype html> <html style="overflow: scroll; scrollbar-width: thin;"> <body style="margin: 0; padding: 0;"> <p> Pass Condition: There is no horizontal overflow. </p> <div style="width: 100%; height: 100px; background: orange;"></div> </body> </html>