W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

[csswg-drafts] [scroll-animations] Computed value of animation-timline (#5112)

From: andruud via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 May 2020 06:05:35 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-624622844-1590473134-sysbot+gh@w3.org>
andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [scroll-animations] Computed value of animation-timline ==
The computed value of `animation-timeline` is currently "as specified". I think it should be as similar as possible to the computed value of `animation-name`, since it's identical (except `animation-timeline` also allows `auto`). It would appear `animation-name` isn't quite right in the spec either, as it doesn't handle string values vs. `<custom-ident>` correctly.

For `animation-name`, I think `<custom-ident>` is the canonical form, i.e. `animation-name:foo` rather than `animation-name:"foo"`, so probably the computed value for both properties should be a list, where each item is an identifier if it would match `<custom-ident>`, otherwise a string or a keyword.

In other words, if you specify `animation-name:"foo"` the computed value is `animation-name:foo`, but if you specify `animation-name:"none"`, the computed value is `animation-name:"none"`. And similarly for `animation-timeline`.

Alternatively make `animation-name` "as specified" too.

cc @majido 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5112 using your GitHub account
Received on Tuesday, 26 May 2020 06:05:37 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:26 UTC