gecko-dev/testing/web-platform/tests/css/css-flexbox/reference/flexitem-stretch-range-ref.html
Antonio Gomes 21faeb2bf4 Bug 1627343 [wpt PR 22698] - Fix css/css-flexbox/reference/flexitem-stretch-range-ref.html, a=testonly
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
2020-04-09 10:35:38 +00:00

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>