W3C home > Mailing lists > Public > www-style@w3.org > May 2012

[css3-animations][css3-transitions] Make negative durations invalid?

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Fri, 18 May 2012 18:10:59 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178290A35294F@TK5EX14MBXC262.redmond.corp.microsoft.com>
Both modules currently require negative durations to 'treated as 0s'. [1][2]

We have a bug for it [3] based on a thread this past March [4] that showed some
agreement that such values should be treated as invalid instead.

At the moment, a quick getComputedStyle() check shows that:
- Opera 11 seems to treat negative durations as invalid
- Firefox preserves negative durations
- WebKit and recent IE10 builds clamp them to 0s per the current prose

[1] http://dev.w3.org/csswg/css3-transitions/#transition-duration-property
[2] http://dev.w3.org/csswg/css3-animations/#animation-duration-property
[3] https://www.w3.org/Bugs/Public/show_bug.cgi?id=16806
[4] http://lists.w3.org/Archives/Public/www-style/2012Mar/0591.html
Received on Friday, 18 May 2012 18:11:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC