Open Bug 1700152 Opened 4 years ago Updated 4 years ago

WPT test css/css-font-loading/fontface-override-descriptors.html fails although the descriptors are implemented

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

People

(Reporter: jfkthame, Unassigned)

References

Details

With the patches in bug 1681691, these tests would be expected to pass, and indeed they do on Android. But on desktop platforms we're seeing a slight baseline discrepancy between tests and reference renderings. So we should figure out where that comes from and if we can resolve it.

OK, I was a bit confused among several testcases; now that the dust has settled on bug 1681691, it seems that just the one testcase fontface-override-descriptors.html is failing, across all platforms.

It looks like the override descriptors are largely working as expected, but we're ending up with slightly different baseline alignment of the Ahem glyphs than the reference file expects. So this is probably an issue in how we use the metrics to compute the final line height and frame ascent used by layout.

Summary: WPT css-font-loading tests for font metrics overrides don't pass on Win/Mac platforms → WPT test css/css-font-loading/fontface-override-descriptors.html fails although the descriptors are implemented
You need to log in before you can comment on or make changes to this bug.