gecko-dev/layout/reftests/css-ui-invalid
Emilio Cobos Álvarez a9ec257d55 Bug 1696378 - Fix snapping issues with outlines. r=mstange
This isn't really an uneven border (because we snap border widths
correctly); this is the textfield border snapping differently than the
outline, actually, in a way such that the outline shows underneath. We
use negative offsets to try to cover the border but that breaks in this
case.

I thought of two ways to fix it, but this one looks slightly more
future-proof (and simpler), see the comment in ComputeBorderColor. Let
me know if you want me to go the other way (snapping offsets instead) or
both, actually.

The transparent border uncovered that the radius was slightly off, and
also that I forgot to snap the auto-style outline width properly, so I
fixed those drive-by too (without the first one stuff looks off
otherwise, at least, the second one I could move).

Differential Revision: https://phabricator.services.mozilla.com/D107287
2021-03-05 01:35:17 +00:00
..
button
default-style Bug 1696378 - Fix snapping issues with outlines. r=mstange 2021-03-05 01:35:17 +00:00
input
output
select
textarea
reftest.list