Skip to content

[font-face] Implement @font-face descriptor 'font-variation-settings' #53592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2025

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

This CL introduces support for the font-variation-settings descriptor
within the @font-face rule, enabling authors to specify OpenType font
features directly at the font definition level.

'font-variation-settings' property is already implemented as CSS
property and it applies to the entire font rendering list, while the
font-variation-settings descriptor within the @font-face rule can only
apply to a certain font, which allows more detailed control of the
font's features.

Spec: https://www.w3.org/TR/css-fonts-4/#font-rend-desc

Bug: 40398871,41427637
Change-Id: Idea7dc5300d34ab9e50201f7a97222ec01af0190
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6582382
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Sejal Anand <sejalanand@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1482514}

This CL introduces support for the font-variation-settings descriptor
within the @font-face rule, enabling authors to specify OpenType font
features directly at the font definition level.

'font-variation-settings' property is already implemented as CSS
property and it applies to the entire font rendering list, while the
font-variation-settings descriptor within the @font-face rule can only
apply to a certain font, which allows more detailed control of the
font's features.

Spec: https://www.w3.org/TR/css-fonts-4/#font-rend-desc

Bug: 40398871,41427637
Change-Id: Idea7dc5300d34ab9e50201f7a97222ec01af0190
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6582382
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Sejal Anand <sejalanand@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1482514}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 7d32c92 into master Jul 4, 2025
19 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-e8e0b88519 branch July 4, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants