Closed Bug 1964198 Opened 17 days ago Closed 7 days ago

[wpt-sync] Sync PR 52313 - Fix a test to declare line-height with Ahem.

Categories

(Core :: Layout: Block and Inline, task, P4)

task

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 52313 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/52313
Details from upstream follow.

Daniel Holbert <dholbert@cs.stanford.edu> wrote:

Fix a test to declare line-height with Ahem.

This fixes the test align-self-static-position-005.html and its reference from recent PR https://github.com/web-platform-tests/wpt/pull/52260 to declare a line-height of 1 when specifying the Ahem font, per best practices at https://web-platform-tests.org/writing-tests/ahem.html

Per that documentation: when using Ahem in a WPT, "An explicit (i.e., not normal) line-height should also always be used")

This is needed in order for the test to pass in Firefox, since Gecko uses a larger-than-1 value as the "normal" line-height for Ahem.)

PR 52313 applied with additional changes from upstream: 638746ee666a0825f63b6afbd18eca8b82bd9dc9
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Component: CSS Parsing and Computation → Layout: Block and Inline

Automatic update from web-platform-tests
Fix a test to declare line-height with Ahem. (#52313)

This fixes the test align-self-static-position-005.html and its reference
from recent PR https://github.com/web-platform-tests/wpt/pull/52260 to declare
a line-height of 1 when specifying the Ahem font, per best practices at
https://web-platform-tests.org/writing-tests/ahem.html

Per that documentation: when using Ahem in a WPT, "An explicit (i.e., not
normal) line-height should also always be used")

This is needed in order for the test to pass in Firefox, since Gecko uses a
larger-than-1 value as the "normal" line-height for Ahem.)

wpt-commits: dd8bc79937cc33e720381c68b37af6254e301e8a
wpt-pr: 52313

Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/723741c630a6 [wpt PR 52313] - Fix a test to declare line-height with Ahem.,
Status: NEW → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: