W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-values-4] Should ratios always get serialized with both components? (#5561)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 29 Sep 2020 16:37:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-700835069-1601397464-sysbot+gh@w3.org>
I'm weakly in favor of this; relying on shortest-serialization-principle to turn `16 / 1` into `16` does feel a little weird here.

The question is just whether it's weirder for a ratio with an explicit `/1` to get serialized without it, or for a ratio that's just a number to get serialized with a `/1`. I think the first one is weirder.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 29 September 2020 16:37:47 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:17 UTC