Use Ahem font for some css-view-transitions tests
A few css-view-transitions tests are failing on Windows in Edge when
run via the external wpt runner [1]. Most failures do not repro on
Linux which explains the difference between the number of failures
between Chrome and Edge.
The particular tests are affected by the rendering differences
between subpixel-antialiased and grayscale-antialiased caused by
LCD text feature. The tests animate opacity. The expected page renders
LCD text on the fully opaque area, while the actual result renders
non-LCD text during and after the animation is done.
The CL fixes the issue by specifying the Ahem font where anti-aliasing
is disabled [2].
[1] https://wpt.fyi/results/css/css-view-transitions?q=chrome%3Afail%20or%20edge%3Afail
[2] #45857
Bug: 356418728
Change-Id: Id3e75d35833c0ddf147f0a42e28b6b35e6309b2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5749584
Reviewed-by: Khushal Sagar khushalsagar@chromium.org
Commit-Queue: Yaroslav Shalivskyy yshalivskyy@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1336278}