Closed Bug 1866420 Opened 1 year ago Closed 1 year ago

[css-grid] Some grid tests does not follow Ahem best practices

Categories

(Core :: Layout: Grid, defect, P2)

defect

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: tlouw, Assigned: tlouw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Some grid tests are not using the correct font: 15px/1 Ahem setting for fonts and is causing layout errors.

See this page for details:
https://web-platform-tests.org/writing-tests/ahem.html

These tests are not following best practice for the Ahem font and are
causing baseline alignment issues as mentioned in the wpt docs:

https://web-platform-tests.org/writing-tests/ahem.html

They now use 15px/1 Ahem. 15px, to stay close to the original size
which is the default of 16px. This shifts the characters on the tests
around, so the expected measurements are also updated.

Pushed by tlouw@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ebacc66038ee Set correct Ahem font properties for grid tests r=jwatt
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43340 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: