Re: [csswg-drafts] [media-queries][css-sizing] Support <number> (and therefore calc) as a <ratio> (#3757)

How should this serialize? The current proposed patch for the feature in Firefox serializes `1.77` as `1.77 / 1`.

I think we should omit the `/ 1` part if the denominator is one. That is technically a breaking change, since if you wrote `(aspect-ratio: 2 / 1)`, you'd get `(aspect-ratio: 2)` rather than the historic `(aspect-ratio: 2 / 1)`, but I think we should be able to get away with it. Thoughts?

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3757#issuecomment-520609988 using your GitHub account

Received on Monday, 12 August 2019 21:54:38 UTC