- From: Eric Willigers via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Dec 2019 19:59:11 +0000
- To: public-css-archive@w3.org
The spec is clear: https://drafts.csswg.org/css-values-4/#dimensions > When written literally, a dimension is a number immediately followed by a unit identifier ... > > CSS uses `<dimension>`s to specify distances (`<length>`), durations (`<time>`), frequencies (`<frequency>`), resolutions (`<resolution>`), and other quantities. > `<length>` is an exception as it allows 0, as explained in the definition of `<length>`. `<angle>` is not an exception, but some legacy properties accept either `<angle>` or `<zero>` (the literal `0`), hence the note in the definition of `<angle>`. Covered by animation-delay and animation-duration WPTs: https://wpt.fyi/results/css/css-animations/parsing/animation-delay-invalid.html?label=master&label=experimental&aligned https://wpt.fyi/results/css/css-animations/parsing/animation-duration-invalid.html?label=master&label=experimental&aligned Ideally, transition-duration would also have a WPT excluding 0: https://wpt.fyi/results/css/css-transitions/parsing/transition-duration-invalid.html?label=master&label=experimental&aligned -- GitHub Notification of comment by ewilligers Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4569#issuecomment-564219408 using your GitHub account
Received on Tuesday, 10 December 2019 19:59:13 UTC