- From: Glenn Adams <glenn@skynav.com>
- Date: Wed, 10 Oct 2012 10:20:59 +0800
- To: Øyvind Stenhaug <oyvinds@opera.com>
- Cc: www-style@w3.org
Received on Wednesday, 10 October 2012 02:21:47 UTC
On Tue, Oct 9, 2012 at 8:44 PM, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> 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.
keep in mind that
-20%, 20% { top: 10px; animation-timing-function: ease-out; }
should not ignore the 20% keyframe, but ignore the -20% keyframe
also, note the CSS2.1 Errata s.4.3.1 [1]
[1] http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html
Received on Wednesday, 10 October 2012 02:21:47 UTC