- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 Aug 2018 16:09:28 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Computed value for shorthand font: should describe serialization for font-variant-css21 and font-stretch-css3`, and agreed to the following: * `RESOLVED: Have computed value always be a percentage and have serialization always show a percentage. Neither deal with keywords` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: Computed value for shorthand font: should describe serialization for font-variant-css21 and font-stretch-css3<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/1671#issuecomment-400863224<br> <dael> myles: There's...the issue here recently has migrated. The thing discussed now is the font-stretch<br> <dael> myles: In L3 font-stretch took keywords. In L4 they're % number so you can animate. That's for variable fonts.<br> <dael> myles: Issue is about how the computed style of this property should be a number of % rather then keyword or a number<br> <dael> myles: If you're trying to animated from condenced to 139% if computed is % o r keyword you can't animate. Solution is always a number and getcomputedstyle function returns strings if the computed style is a magic number we define<br> <florian> the explanation did make sense<br> <dael> astearns: Are magic number spec orimpl dependent?<br> <dael> myles: There's a table<br> <chris> its the magic numbers that correspond to the keywords<br> <dael> myles: Not much of an issue, it's do you want to animate from keyword to number. If yes, and I think it's yes, we need backwards compat<br> <dael> florian: Makes total sense to me<br> <chris> +1 this seems good to me<br> <dael> astearns: me too<br> <dael> emilio: Serialize as number?<br> <dael> myles: We're discussing now if computed style of font-stretch shoudl b e a number or as specified.<br> <dael> emilio: Gecko and blink ship as number so web compat not problem.<br> <dael> myles: Backwards is gCS. If you set font-stretch to a value that used to be a keyword do you get numebr or keyword<br> <dael> emilio: number<br> <dael> chris: It's serialization of gCS and I think there's web compat on that<br> <dael> myles: I guess there isn't much web compat if blink and gecko give number.<br> <dael> florian: We can start with that and ifthere is web compat revisit<br> <dael> astearns: Perhaps a note in the draft saying may be web compat with always serialize as number and may need magic conversion at some point.<br> <dael> florian: Reasonable<br> <fremy> +1<br> <dael> astearns: Anyone with evidence that we need magic number to string conversion in gCS?<br> <dael> astearns: Prop: Have computed value always be a percentage and have serialization always show a percentage. Neither deal with keywords<br> <dael> astearns: Objections?<br> <dael> RESOLVED: Have computed value always be a percentage and have serialization always show a percentage. Neither deal with keywords<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1671#issuecomment-417009982 using your GitHub account
Received on Wednesday, 29 August 2018 16:09:29 UTC