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

Re: [css3-transitions] rule for animation of 'visibility' is backwards

From: David Hyatt <hyatt@apple.com>
Date: Mon, 30 Nov 2009 14:15:48 -0600
Cc: www-style@w3.org
Message-id: <9FD18B21-43F5-40B4-92AB-755312BCF4E9@apple.com>
To: "L. David Baron" <dbaron@dbaron.org>
This is definitely just a mistake in the spec.

dave

On Nov 28, 2009, at 12:06 PM, L. David Baron wrote:

> http://dev.w3.org/csswg/css3-transitions/#animation-of-property-types-
> says:
>  # visibility: interpolated via a discrete step. The interpolation
>  # happens in real number space between 0 and 1, where 1 is
>  # "visible" and all other values are "hidden".
>
> Based on
> http://dbaron.org/css/test/2009/transitions/transition-visibility it
> appears that what WebKit implements is that values between 0 and 1
> are treated as 'visibile', which makes more sense to me.  (For
> example, it means that you can animate 'opacity' and 'visibility' on
> the same function and end up with an element that ignores mouse
> events only when 'opacity' is '0'.)
>
> (Though see my previous message for other comments on this:
> http://lists.w3.org/Archives/Public/www-style/2009Nov/0328.html )
>
> -David
>
> -- 
> L. David Baron                                 http://dbaron.org/
> Mozilla Corporation                       http://www.mozilla.com/
>
Received on Monday, 30 November 2009 20:16:31 GMT

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