Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement the ic-height metric of font-size-adjust
This change introduces support for the ic-height metric in font-size-adjust [1], allowing developers to adjust font size based on the height of the CJK water glyph. Notably, in cases where the chosen font lacks the CJK water glyph or vertical font information, we apply no adjustment. If the standard says something different later, we will follow it up [2]. [1] https://www.w3.org/TR/css-fonts-5/#valdef-font-size-adjust-ic-height [2] w3c/csswg-drafts#6384 Test: animations/responsive/interpolation/font-size-adjust-responsive.html external/wpt/css/css-fonts/animations/font-size-adjust-composition.html external/wpt/css/css-fonts/font-size-adjust-ic-height.tentative.html (new) external/wpt/css/css-fonts/parsing/font-size-adjust-computed.html external/wpt/css/css-fonts/parsing/font-size-adjust-valid.html Bug: 1219875 Change-Id: Ie90a6241cb7e8a55fcaf65df5a4edc1058028ebe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5118658 Commit-Queue: ChangSeok Oh <[email protected]> Reviewed-by: Dominik Röttsches <[email protected]> Cr-Commit-Position: refs/heads/main@{#1301206}
- Loading branch information