Files
firefox/testing/web-platform/tests/css/css-transforms/scale
Daniel Holbert 768eb1a0ca Bug 1838089: Change WPTs svg-scale-013 and -014 to use whole-number pixel values, to avoid depending on precise pixel snapping behavior. r=TYLin
These tests were making unjustified subpixel-positioning assumptions about
rects with positions and sizes of 133.333px; and the tests were also not
accounting the fact that 1.5 * 133.333px is technically not-quite-200px.

This patch addresses these issues by using 1.25 * 160px instead -- testing the
same thing, but with a whole-number pixel value that doesn't require a
truncated decimal approximation.

This addresses https://github.com/web-platform-tests/interop/issues/359

Differential Revision: https://phabricator.services.mozilla.com/D180749
2023-06-15 01:34:09 +00:00
..