mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-tests Fix css/css-flexbox/reference/flexitem-stretch-range-ref.html After latest syncing up of WPT repository into Mozilla, css/css-flexbox/reference/flexitem-stretch-range.html started failing on Windows with a one-off pixel difference. As per dholbert's insight in [1], this patch adds "box-sizing: border-box" to css/css-flexbox/reference/flexitem-stretch-range-ref.html, so that the reference case behaves similarly to the test case in all platforms. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1626240#c5 -- wpt-commits: 7f2d258fafcc211f61eb4da42b798e5167af8f8c wpt-pr: 22698
9 lines
256 B
HTML
9 lines
256 B
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>
|