Files
tubestation/layout/reftests/forms/overflow-ref.html
Emilio Cobos Álvarez 19ceac28d3 Bug 1615026 - Ensure that non-native theme doesn't stroke outside of its rect. r=mstange
...and properly pixel-snap while at it, as otherwise my test would fail fuzzily.

Stroke() paints a stroke from the middle of the path, so it'll paint
one-half-of-the-width outside of the rect.

We need to deflate it by half the border width so that the stroke covers exactly
the area we want.

Differential Revision: https://phabricator.services.mozilla.com/D65422
2020-03-05 00:25:31 +00:00

20 lines
486 B
HTML

<!doctype html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1615026
-->
<title>Form controls don't paint outside of their layout bounds</title>
<style>
span {
float: left;
margin: 10px;
}
</style>
<span><input type="text"></span>
<span><input type="file"></span>
<span><input type="number"></span>
<span><input type="search"></span>
<span><input type="checkbox"></span>
<span><input type="radio"></span>
<span><button></button></span>
<span><select></select></span>