[wpt-sync] Sync PR 41970 - The size-adjust descriptor should not scale system fallback fonts.
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41970 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41970
Details from upstream follow.
ChangSeok Oh <changseok.oh@bytedance.com> wrote:
The size-adjust descriptor should not scale system fallback fonts.
When creating a system fallback font for a character on Mac, Blink
refers to the font platform data of the primary font. However, the
created system fallback font could be unintentionally scaled where
the size-adjust descriptor scales the primary font. To fix it, we use
the effective size of the font description instead.Test: external/wpt/css/css-fonts/size-adjust-unicode-range-system-fallback.html
Bug: 1441723
Change-Id: I35c744f0ddcc0af82645bb4ff87dcdfa1b44860a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4861389
Reviewed-by: Dominik Röttsches \<drott@chromium.org>
Commit-Queue: ChangSeok Oh \<changseok.oh@bytedance.com>
Cr-Commit-Position: refs/heads/main@{#1198009}
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 1•9 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=246b3f1e65449ca2cc0c39587ab09133b12a7ee5
Assignee | ||
Comment 2•8 months ago
|
||
Test result changes from PR not available.
Pushed by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/d8ee8da055bc [wpt PR 41970] - The size-adjust descriptor should not scale system fallback fonts., a=testonly
Comment 4•8 months ago
|
||
bugherder |
Description
•