- From: Benoit Girard <bgirard@mozilla.com>
- Date: Thu, 12 Dec 2013 18:24:59 -0500
- To: Henrik Andersson <henke@henke37.cjb.net>
- Cc: www-style <www-style@w3.org>
Received on Thursday, 12 December 2013 23:25:27 UTC
That syntax doesn't work with 'scroll-position || contents' that's been suggested above. Also if we're using !animated it's easy for something to change the value without preserving if !animated was set or not. Say: elem.style.top = x + "px" + (isAnimated?" !animated":""); On Thu, Dec 12, 2013 at 6:56 AM, Henrik Andersson <henke@henke37.cjb.net>wrote: > Benoit Girard skriver: > > I'd like to propose a will-animate CSS property. > > > > I just had an idea for a different approach. > > Why not use the !bang syntax for this? > > For example: > > div { > top: 0px !animated; > } > > I have not thought much about this approach, so I probably overlooked > some important details. > >
Received on Thursday, 12 December 2013 23:25:27 UTC