Re: [csswg-drafts] [css-fonts] Computed value of font stretch (#6171)

The CSS Working Group just discussed `[css-fonts] Computed value of font stretch`, and agreed to the following:

* `RESOLVED: font-stretch should serialize to a number/percentage, not a keyword`

<details><summary>The full IRC log of that discussion</summary>
&lt;myles> Topic: [css-fonts] Computed value of font stretch<br>
&lt;astearns> github: https://github.com/w3c/csswg-drafts/issues/6171<br>
&lt;fremy> emilio: the spec has a note that says that for compat reasons, computation of font-stretch should stay a keyword if it was one, instead of the percentage<br>
&lt;fremy> emilio: webkit doesn't do that<br>
&lt;fremy> emilio: tests either require one or the other, there is no concensus<br>
&lt;fremy> emilio: I would like to remove this note<br>
&lt;fremy> myles: there is no known issue I was working around<br>
&lt;fremy> dbaron: usually, we try to stick to the most compatible representation for compat<br>
&lt;fremy> emilio: returning the keyword makes it difficult for authors because they need to reverse compute the keywords<br>
&lt;fremy> emilio: font-3 used to report the keyword all the times<br>
&lt;fremy> myles: at least in webkit, we implemented font-stretch at the same time as the numerical values<br>
&lt;fremy> myles: so the span of time where we didn't support numbers for it was short<br>
&lt;fremy> myles: possibly not even a release<br>
&lt;fremy> dbaron: given that, I think it's fine to break the general principle<br>
&lt;fremy> astearns: ok, so the proposed resolution is to not used the font-stretch keywords in serialization<br>
&lt;fremy> emilio: and return a percentage<br>
&lt;fremy> astearns: ok, any objection to this?<br>
&lt;fremy> RESOLVED: font-stretch should serialize to a number/percentage, not a keyword<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6171#issuecomment-814152642 using your GitHub account


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

Received on Tuesday, 6 April 2021 14:10:42 UTC