Re: "display: image;" for CSS styling of images embedded in XML documents?

Mikko Rantalainen wrote:
> OK, it's the more general problem then. How about:
> 
> span { position: relative; top: 0; }
> span:hover { top: 100%; }

http://www.w3.org/TR/CSS21/selector.html#x39 explicitly says (and CSS2 
has similar language):

   User agents are not required to reflow a currently displayed document
   due to pseudo-class transitions.

In other words, a UA that completely ignores the "top" declaration in 
that span:hover rule would be quite compliant with the spec (and not 
have the circularity problem you raise).

-Boris

Received on Tuesday, 8 July 2003 15:14:13 UTC