Summary: | [CSS Fonts] The `from-font` value for CSS `font-size-adjust` is not computed correctly | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jonathan Kew <jfkthame> |
Component: | CSS | Assignee: | ChangSeok Oh <changseok> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | changseok, commit-queue, emilio, mmaxfield, ntim, vitor.roriz, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 262285 | ||
Bug Blocks: |
Description
Jonathan Kew
2023-07-27 05:15:25 PDT
WPTs are at https://github.com/web-platform-tests/wpt/pull/41273 (thanks Jonathan!) The computed style is a trivial fix, and using the correct font probably is as well, currently doing some local testing. This requires a bit more work than expected to use the current element's style, since the fonts are not initialized at the moment we compute the size-adjust value. (In reply to Tim Nguyen (:ntim) from comment #3) > This requires a bit more work than expected to use the current element's > style, since the fonts are not initialized at the moment we compute the > size-adjust value. Yes. That is why the parent element's font instead. I will take a look at the issue. Pull request: https://github.com/WebKit/WebKit/pull/18193 Committed 268550@main (49f5188b5e82): <https://commits.webkit.org/268550@main> Reviewed commits have been landed. Closing PR #18193 and removing active labels. Re-opened since this is blocked by bug 262285 Pull request: https://github.com/WebKit/WebKit/pull/18425 Committed 269041@main (89bdb0336c3b): <https://commits.webkit.org/269041@main> Reviewed commits have been landed. Closing PR #18425 and removing active labels. |