Re: [csswg-drafts] [css-transforms] Have scale function accept percentage value (#3399)

The CSS Working Group just discussed `Have scale function accept percentage value`, and agreed to the following:

* `RESOLVED: Allow percentages inside the scale`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: Have scale function accept percentage value<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/3399<br>
&lt;dael> AmeliaBR: This was a community suggestion that scale transforms that current accept number also accept % values, transform-scale: 150% instead of 1.5<br>
&lt;dael> AmeliaBR: Question of author conveience and intuitiveness. We've done this recently for opacity. Just like that it would only effect parsing. Actual rendering wouldn't change.<br>
&lt;dael> AmeliaBR: Question of if people think it's enough value to users to change parsing code<br>
&lt;dael> Rossen_: Any expection for how computed serializes<br>
&lt;dael> AmeliaBR: I would assume convert to simple number<br>
&lt;dael> TabAtkins: Given this is a place where number represents same as % I'm fine with it. It's low value, but low effort and I'm good with being more consistent across the language.<br>
&lt;dael> TabAtkins: Idea is it would parse into a number internally and serialize as a number<br>
&lt;dael> AmeliaBR: smfr can correct, but I assume this is transforms 2. I don't think any rush to get that to PR so we have time to ship impl<br>
&lt;heycam> +1 for consistency across all values that accept a proportion-like value<br>
&lt;dael> smfr: I think that's true. Would effect 2d transform functions. New in transforms 2. Fine with this<br>
&lt;dael> Rossen_: Obj to accept proposal Allow percentages inside the scale<br>
&lt;dael> RESOLVED: Allow percentages inside the scale<br>
</details>


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

Received on Wednesday, 2 October 2019 23:30:44 UTC