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

RE: CSS3 Syntax : or :: ?

From: Chris Moschini <Chris.Moschini@amdocs.com>
Date: Tue, 1 Jul 2003 08:27:00 -0500
Message-ID: <3DB269E1BEC8134084EAA64AD4A1E0CF04C867@stlmail1.corp.amdocs.com>
To: "'fantasai'" <fantasai@escape.com>, www-style@w3.org
Thanks both fantasai and Boris (Boris answered me privately). At first I wondered why the C-like
syntax addition, but now I understand. I am a bit concerned that those who learn by looking
at source - many of those who joined the Web did so - will see this :first-letter ::first-child
syntax as a typo rather than an intentional distinction in element type. But then, I can't really
recommend a better operator to use than ::

I'll do my part to teach on Hiveminds though ;o)

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

(this is a public mailing list - ignore attachment)



-----Original Message-----
From: fantasai [mailto:fantasai@escape.com]

Chris Moschini wrote:
> so, why the introduction of :: ?

The proper syntax is with the double colon; . . .

See http://www.w3.org/TR/css3-selectors/#pseudo-elements
-------------------------------------------------------------------------------------

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 Tuesday, 1 July 2003 09:28:31 GMT

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