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

[csswg-drafts] [css-values] Time type does not specify if unit is needed for magnitude of zero (#4569)

From: Nicholas Shanks via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Dec 2019 14:01:34 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-534007129-1575640893-sysbot+gh@w3.org>
nickshanks has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values] Time type does not specify if unit is needed for magnitude of zero ==
Lengths allow unitless `0`.
Angles note (in css-values-3; as I read it) that "0" means zero degrees from North/up in certain extant properties, but that new properties will always require the unit.
The definition of the <time> type does not specify either way.

We now have divergent implementations. Safari allows unitless specification for durations with no magnitude, Chrome and Firefox do not.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4569 using your GitHub account
Received on Friday, 6 December 2019 14:01:36 UTC

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