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

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