Re: [css3-animation] keyframes and percentages

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 UTC