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

On Tue, 8 Jul 2003, Mikko Rantalainen wrote:
> OK, it's the more general problem then. How about:
> span { position: relative; top: 0; }
> span:hover { top: 100%; }
> In that case, hovering the mouse moves the element and causes the
> element be no longer be hovered -- and the element moves back to it's
> original position and it is again hovered, right?

Yes, but in that particular case there is a simple solution, which is to
say that :hover is only changed during a mouse-move event (this is what
UAs do, in fact).

> Would it be somehow possible to modify rendered content without removing
> the :broken status? Perhaps adding some invisible content that would be
> regarded as :broken?

I don't really understand how such complexity is really that useful.

Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.                         `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 9 July 2003 04:44:38 UTC