Re: [csswg-drafts] [css-fonts-5] Computed value for font-size-adjust (#10292)

I thought that computing to the actual value was deliberate, because that's what we want to inherit. If it instead computes to `from-font`, that'll mean that child elements with a different first available font will not be adjusted based on the ancestor's value.

Given
```
data:text/html,<p style="font: 40px Impact; font-size-adjust: from-font">
                   Hello <span style="font-family: Times;">cruel</span> world
```
the expectation should be that the `<span>` inherits the adjustment factor from the **Impact** font, not that it computes its own from **Times**.

(See also https://github.com/w3c/csswg-drafts/issues/9050)

-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10292#issuecomment-2108251725 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 13 May 2024 17:03:59 UTC