Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/flexitem-stretch-range.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<title>CSS Flexbox: range stretch</title>
<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>