Re: [csswg-drafts] [css-fonts-5] font-size-adjust with missing metrics (#6384)

> So, we currently have:
> 
> > **`from-font`**
> > Computes to the [`<number>`](https://drafts.csswg.org/css-values-4/#number-value) corresponding to the specified metric of the [first available font](https://drafts.csswg.org/css-fonts-4/#first-available-font).
> 
> Proposed resolution (the "no adjustment" option):
> 
> > **`from-font`**
> > If the specified metric exists, computes to the [`<number>`](https://drafts.csswg.org/css-values-4/#number-value) corresponding to the specified metric of the [first available font](https://drafts.csswg.org/css-fonts-4/#first-available-font). Otherwise, the same as `none`

I'd like to clarify the computed value for `from-font` a bit more. Unless the specified metric exists in the used font, what should the computed value of `font-size-adjust: ic-height from-font` in the proposed resolution? [Is it `ic-height none`](https://github.com/web-platform-tests/wpt/blob/master/css/css-fonts/parsing/font-size-adjust-computed.html#L46)?

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


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

Received on Wednesday, 17 April 2024 07:34:20 UTC