W3C home > Mailing lists > Public > www-style@w3.org > October 2009

[css3-transitions] Spec should mention that simultaneity of property changes is undefined

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 30 Oct 2009 12:39:57 -0700
To: www-style@w3.org
Message-ID: <20091030193957.GA24835@pickering.dbaron.org>
I thought I sent comments about this issue before, but I can't find
them.

The transitions spec depends on the relative timing of CSS property
changes in various ways.  For example, if a script changes the
'color' property, and then, later in the same script, changes the
'transition-delay' property from zero to nonzero, whether the color
property transitions or not.  This is because implementations
coalesce (and flush) these changes in different ways.

I think the spec should avoid mandating a specific coalescing
algorithm, but should instead note that some behaviors are
explicitly undefined: in particular, if a change to the value of one
of the transition-* properties happens a small amount of time after
a change to a property whose transition would be different depending
on the first change, it is undefined which transition actually
occurs.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Friday, 30 October 2009 19:40:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:21 GMT