W3C home > Mailing lists > Public > www-html@w3.org > July 2004

Re: [XHTML2] DESCRIPTION element

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 28 Jul 2004 09:30:35 +0200
Message-ID: <4107561B.6080104@annevankesteren.nl>
To: Trejkaz Xaoza <trejkaz@xaoza.net>
Cc: www-html@w3.org

> Are you sure about this, though?  From what I can tell, one of the oldest failings
> (or features, depending on your POV) of CSS is that you can't have selectors which
> check for child elements.  So if you wanted to somehow apply a style to all elements
> which were cited from a document in another language, you couldn't do this if you
> had the xml:lang attribute on a child <description/> element.

   selector:hover>description{
    /* styles */
   }

Is all that is needed I guess.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Wednesday, 28 July 2004 03:31:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:00 GMT