Bug 254790 - [CSS Fonts] Implement the from-font value for font-size-adjust
Summary: [CSS Fonts] Implement the from-font value for font-size-adjust
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: ChangSeok Oh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-30 17:51 PDT by ChangSeok Oh
Modified: 2023-04-10 19:18 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ChangSeok Oh 2023-03-30 17:51:46 PDT
The 'from-font' value is newly added to CSS Font Module Level 5 [1], which allows the browser to automatically decide a font-size-value based on the primary font. We implement it here.

[1] https://www.w3.org/TR/css-fonts-5/#valdef-font-size-adjust-from-font
Comment 1 ChangSeok Oh 2023-04-02 21:21:02 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12303
Comment 2 Radar WebKit Bug Importer 2023-04-06 17:52:23 PDT
<rdar://problem/107735982>
Comment 3 EWS 2023-04-10 19:18:26 PDT
Committed 262800@main (0f2621d76216): <https://commits.webkit.org/262800@main>

Reviewed commits have been landed. Closing PR #12303 and removing active labels.