W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

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

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Aug 2019 21:54:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-520609988-1565646875-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:52 UTC