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

[csswg-drafts] [web-animations-1] Expect iterationStart to not be NaN (#5507)

From: Guillaume via GitHub <sysbot+gh@w3.org>
Date: Thu, 10 Sep 2020 12:28:37 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-697885328-1599740915-sysbot+gh@w3.org>
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [web-animations-1] Expect iterationStart to not be NaN ==
`iterations` and `duration` are expected to not be `NaN`, but not `iterationStart`. Is there a reason for this or is it just missing?

https://drafts.csswg.org/web-animations-1/#update-the-timing-properties-of-an-animation-effect

Currently in Chrome:

```js
new KeyframeEffect($0, { opacity: [0, 1] }, { iterationStart: NaN })
// Uncaught TypeError: Failed to construct 'KeyframeEffect': The provided double value is non-finite.
new KeyframeEffect($0, { opacity: [0, 1] }, { iterations: NaN })
// Uncaught TypeError: Failed to construct 'KeyframeEffect': iterationCount must be non-negative
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5507 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 10 September 2020 12:28:41 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC