Closed Bug 1834903 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40210 - Apply font-size-adjust to fallback fonts

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

ChangSeok Oh <changseok.oh@bytedance.com> wrote:

Apply font-size-adjust to fallback fonts

Fallback fonts ignore font-size-adjust. That is because the primary
font's description is used to create fallback fonts. As a fallback font
can have different font metrics, we should adjust its size.

The subpixel rendering might affect the result on Windows. To make it
happy, we tweak the font size in font-size-adjust-012.html

Test: external/wpt/css/css-fonts/font-size-adjust-012.html

Bug: 451346
Change-Id: Iab8f14c21fdf501931e62e77e9059737722a050f

Reviewed-on: https://chromium-review.googlesource.com/4305200
WPT-Export-Revision: 7203d4e743448f65a786f34bdd9a5ab1f66a802f

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6f73de127ac8 [wpt PR 40210] - Apply font-size-adjust to fallback fonts, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.