- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 04 Apr 2023 06:00:07 +0000
- To: public-css-archive@w3.org
I suggested to accept `auto` for `animation-duration` in a value for `animation` because `auto` can be declared for `animation-duration`. As far as I know, `font` is the only other shorthand serialized as empty string because its syntax intentionally does not accept some values accepted in the syntax of a sub-property (`font-stretch` and `font-variant`). I do not know the historical reasons for this. I do not really have a problem with serializing `animation` omitting the initial value of `animation-duration`. > Furthermore, when serializing, default values of other properties must be output in at least the cases necessary to distinguish an `animation-name` that could be a value of another property, and may be output in additional cases. Even if the author declared `animation-name: auto; animation-duration: auto; /* ...other animation longhand declarations */`, the declared value of `animation-duration` must not be output. For authors, this would be the only sub-property of `animation` that they cannot declare explicitly. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8656#issuecomment-1495395799 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 4 April 2023 06:00:09 UTC