[wpt-sync] Sync PR 40614 - Implement the from-font value for font-size-adjust
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40614 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40614
Details from upstream follow.
ChangSeok Oh <changseok.oh@bytedance.com> wrote:
Implement the from-font value for font-size-adjust
The 'from-font' value is newly added to CSS Font Module Level 5 [1],
which allows the browser to automatically determine a font-size-adjust
value based on the primary font. This change implements it.[1] https://www.w3.org/TR/css-fonts-5/#valdef-font-size-adjust-from-font
We tweak font-size-adjust-013.html to make Windows happy. The platform
got a one-pixel mismatch of width and height due to subpixel rendering.Test:
external/wpt/css/css-fonts/font-size-adjust-013.html
external/wpt/css/css-fonts/parsing/font-size-adjust-computed.html
external/wpt/css/css-fonts/parsing/font-size-adjust-valid.htmlBug: 1219875
Change-Id: I79b401689c1afdbdb581112fe0778ca4a520a441Reviewed-on: https://chromium-review.googlesource.com/4542920
WPT-Export-Revision: ff3adb6428fbe9a815ec8842b94c638856347636
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/05c38caccd74
https://hg.mozilla.org/mozilla-central/rev/da1d83c06005
Description
•