[wpt-sync] Sync PR 39380 - Add and update font-size-adjust tests to examine the from-font value.
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39380 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39380
Details from upstream follow.
ChangSeok Oh <changseok.oh@bytedance.com> wrote:
Add and update font-size-adjust tests to examine the from-font value.
The CSS Font Module Level 5 defines a new value, from-font for font-size-adjust, which allows the browser to automatically decides an aspect value based on the primary font [1].
This change updates existing parsing tests for from-value and adds a new reference test to examine the rendering results as expected. font-size-adjust-013.html is similar to font-size-adjust-012.html, except for the setting value for font-size-adjust.
The tests originated from a WebKit implementation of from-font for font-size-adjust [2].
[1] https://www.w3.org/TR/css-fonts-5/#font-size-adjust-prop
[2] https://github.com/WebKit/WebKit/pull/12303
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/91b51b9bf3e6
https://hg.mozilla.org/mozilla-central/rev/bd7071a14401
Description
•