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

Re: [css3-animation] keyframes and percentages

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Tue, 09 Oct 2012 14:44:01 +0200
To: www-style@w3.org
Message-ID: <op.wlwwbnfwbunlto@oyvinds-desktop>
On Tue, 09 Oct 2012 13:28:35 +0200, Yves Lafon <ylafon@w3.org> wrote:

> Hi,
> The spec is a bit silent about that, but is it ok to have negative  
> percentages or percentages over 100%?

The editor's draft says that "[i]f a keyframe selector specifies negative  
percentage values or values higher than 100%, then the keyframe will be  
ignored."

> It is not specified at all, so it should be allowed, and if you have
> -20% {
>    top: 10px;
>    animation-timing-function: ease-out;
> }

Even with the working draft, this is not valid per the keyframes_blocks  
grammar.

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Tuesday, 9 October 2012 12:44:34 GMT

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