wpt icon indicating copy to clipboard operation
wpt copied to clipboard

Disable Font anti-aliasing in chrome

Open gastonrod opened this issue 5 months ago • 0 comments

Chrome recently implemented the NoFontAntialiasing feature to disable anti aliasing in all fonts for testing. This decreases the amount of false negatives where a test fails due to some small anti aliasing difference in the edges of the fonts, instead of failing the behavior that the test was actually intending to verify.

We used to have a feature flag to only disable AA for the Ahem font that was being used in the WPT runners. That feature got merged into NoFontAntialiasing (Chromium CL, WPT PR) and removed from the runner's arguments, but it didn't get replaced with the new feature flag. Because of this, hundreds of tests are failing in the Windows runner. See https://github.com/web-platform-tests/wpt/issues/53128

This PR adds the new NoFontAntialiasing to the runner's arguments.

gastonrod avatar Jun 16 '25 17:06 gastonrod