[csswg-drafts] [css-fonts] Unclear serialisation of calc expressions in `@font-face` font-stretch/style/weight descriptors (#7964)

drott has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts] Unclear serialisation of calc expressions in `@font-face` font-stretch/style/weight descriptors ==
[`css/css-fonts/variations/at-font-face-descriptors.html`](https://github.com/web-platform-tests/wpt/blob/master/css/css-fonts/variations/at-font-face-descriptors.html) defines various expectations for what should happen with `calc()` expressions, but does not consistently do that, some are evaluated, some are not. 

This issue is spun off of recent WebKit WPT test merge where expectations were changed from evaluated and clamped calc() results to unevaluated calc() results when reading back the descriptor.
https://github.com/WebKit/WebKit/commit/c3e93693835f3f31a9667552bc1aaf41caf8bb2d

Generally, the css-values specification suggest simplification:
https://w3c.github.io/csswg-drafts/css-values-4/#calc-simplification

We need to define what the serialized value of the font property-descriptors `font-weight`, `font-stretch`, `font-style` in 
https://drafts.csswg.org/css-fonts-4/#font-prop-desc should be. 


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7964 using your GitHub account


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

Received on Thursday, 27 October 2022 15:13:20 UTC