CSS transition and 'visibility'

In WebKit, given the following:

   div { -webkit-transition:visibility 1s } 
   div:hover { visibility:hidden }

...when hovering the div it will wait 1s then switch to hidden. When removing hover it will instantly switch to visible.

The spec seems to require the exact opposite if I'm reading it correctly:

   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".
    -- http://webkit.org/specs/CSSVisualEffects/CSSTransitions.html

What WebKit implements seems like the more useful behavior, in my opinion. Is the spec wrong?

-- 
Simon Pieters
Opera Software

Received on Tuesday, 17 March 2009 14:07:08 UTC