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

Re: [csswg-drafts] [css-values] Clarify that calc(0) is never a length (#4554)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Dec 2019 18:29:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-561296571-1575397774-sysbot+gh@w3.org>
Good point, Oriol.

We could follow the paragraph your quoted (on ambiguous types) with a note:  “This means that, inside a mathematical function, a 0 is always parsed as a number and not as a length. See [Type Checking].”  That should handle the clarification for authors.

My point about the `<zero>` definition still stands, though: either use it or lose it!

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4554#issuecomment-561296571 using your GitHub account
Received on Tuesday, 3 December 2019 18:29:36 UTC

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