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

[css3-transitions][css3-animations] should negative 'animation-durtaion' and 'transition-duration' be parse errors

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 27 Mar 2012 11:47:32 -0700
To: www-style@w3.org
Message-ID: <20120327184732.GA11193@crum.dbaron.org>
http://dev.w3.org/csswg/css3-transitions/#the-transition-duration-property-
http://dev.w3.org/csswg/css3-animations/#the-animation-duration-property-

These sections of the specifications say that negative values of
transition-duration and animation-duration are treated as '0s'.
This is somewhat unusual; normally out-of-range values in CSS are
treated as parse errors.  Should we change these to match the normal
behavior?

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Tuesday, 27 March 2012 18:47:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT