Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/flexitem-stretch-range.html
<!DOCTYPE html> <html> <title>CSS Flexbox: range stretch</title> <link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-property"> <link rel="help" href="https://drafts.csswg.org/css-flexbox/#min-size-auto"> <link rel="match" href="reference/flexitem-stretch-range-ref.html"> <link href="support/flexbox.css" rel="stylesheet"> <meta name="assert" content="This test ensures that the thumb should be centered vertically when stretching a range input."> <body> <p>When stretching a range input, the thumb should be centered vertically.</p> <div class="flexbox" style="height: 200px;"> <input type="range" style="flex: 1; margin: 0;"> </div> </body> </html>
/css/css-flexbox/reference/flexitem-stretch-range-ref.html
<!DOCTYPE html> <html> <body> <p>When stretching a range input, the thumb should be centered vertically.</p> <div style="height: 200px;"> <input type="range" style="width: 100%; height: 100%; margin: 0; box-sizing: border-box;"> </div> </body> </html>