RE: Comments in selectors: CSS1 versus later

> From: Kai Lahmann [mailto:kl@3dots.de]
> 
> if you ask me, there's no use of allowing a comment inside a 
> selector. Before 
> yes, after also - but inside?

I can see how this would become useful in long selectors. A verbose example:

div.container > div.heading /* get heading */
> ul > li > ul.users > li /* get only lists that contain user lists */
> span.name {
	color: #f00;
}

Here a fairly complex selector (the real power of CSS3 and you might say CSS2) is used, but clarified for other authors line by line.


-Chris "SoopahMan" Moschini
http://hiveminds.info/
http://soopahman.com/

(this is a public mailing list - ignore attachment)
-------------------------------------------------------------------------------------

The information contained in this message is proprietary of Amdocs,

protected from disclosure, and may be privileged.

The information is intended to be conveyed only to the designated recipient(s)

of the message. If the reader of this message is not the intended recipient,

you are hereby notified that any dissemination, use, distribution or copying of 

this communication is strictly prohibited and may be unlawful. 

If you have received this communication in error, please notify us immediately

by replying to the message and deleting it from your computer.

Thank you.

-------------------------------------------------------------------------------------

Received on Monday, 7 July 2003 13:49:31 UTC