[wpt-sync] Sync PR 52313 - Fix a test to declare line-height with Ahem.
Categories
(Core :: Layout: Block and Inline, task, P4)
Tracking
()
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.htmlPer 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.)
Assignee | ||
Comment 1•17 days ago
|
||
Assignee | ||
Updated•17 days ago
|
Assignee | ||
Comment 2•17 days ago
|
||
Assignee | ||
Comment 3•17 days ago
|
||
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
Updated•17 days ago
|
Assignee | ||
Comment 4•7 days ago
|
||
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
Comment 6•7 days ago
|
||
bugherder |
Description
•