- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 28 Feb 2018 17:57:39 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `[css-values] calc() should round when it's used as an <integer>`, and agreed to the following resolutions: * `RESOLVED: Accept the proposal in #2337` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: [css-values] calc() should round when it's used as an <integer><br> <dael> github: https://github.com/w3c/csswg-drafts/issues/2337<br> <dael> TabAtkins: Basic issue, when you put an invalid number in the calc due to range restrictions we clamp instead of call it invalid. But we try and track int or number to reject at parse time. If you do division it becomes a number. THis is inconvenient for typed OM. We'd like any numbers to work out.<br> <dael> TabAtkins: I think the distinction for int and number I wrote in is for conveince not a need. I propose if a prop only takes an int and calc in non-int we round to an int. We do this for animations already.<br> <dael> TabAtkins: To match how animations of int are specified at 0.5 we round up.<br> <dael> Rossen_: Any other opinions<br> <dael> Rossen_: Or suggestions<br> <tantek> that sounds like a reasonable proposal and way of re-using another approach of how we deal with this situation<br> <dael> AmeliaBR: I believe someone said edge does this?<br> <dael> TabAtkins: fremy said they do but they floor so he had a weak preference for that. I think match animations is better.<br> <dael> AmeliaBR: Yes, doing actual rounding sounds more logical.<br> <dael> Rossen_: Wouldn't disagree. For matching with flooring or animations I'd also prefer animations.<br> <dael> Rossen_: So I would be fine with TabAtkins proposal.<br> <dael> Rossen_: Any other ideas or suggestions? If not we can resolve to accept current.<br> <dael> Rossen_: Objections?<br> <dael> RESOLVED: Accept the proposal in #2337<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2337#issuecomment-369325953 using your GitHub account
Received on Wednesday, 28 February 2018 17:57:42 UTC