Closed Bug 1826459 Opened 3 years ago Closed 3 years ago

[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)

task

Tracking

()

RESOLVED FIXED
114 Branch
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

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91b51b9bf3e6 [wpt PR 39380] - Add and update font-size-adjust tests to examine the from-font value., a=testonly https://hg.mozilla.org/integration/autoland/rev/bd7071a14401 [wpt PR 39380] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.