W3C home > Mailing lists > Public > www-style@w3.org > July 2003

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 08 Jul 2003 14:14:02 -0500
Message-ID: <3F0B17FA.9000102@mit.edu>
To: Mikko Rantalainen <mira@st.jyu.fi>
CC: www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:22 GMT