W3C home > Mailing lists > Public > www-style@w3.org > December 2000

Re: CSS comment syntax

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 3 Dec 2000 20:18:53 +0100
Message-ID: <000201c05d61$2343a320$c7e0a8c0@de>
To: "Cristiano Guglielmetti" <guglielmetti@tin.it>
Cc: <www-style@w3.org>
* "Cristiano Guglielmetti" <guglielmetti@tin.it> wrote:
| 1)
| /* text */ - is a comment, where "text" is the comment

" text "

| 3)
| \/*text*/ - ambiguous, the comment start from the slash
| (where the comment is "text"), the former backslash will
| be ignored

Ignoring that the \ removes the special meaning of the /?
The CSS Validator currently does so, but I don't know why.
--
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote [!]e
  "Everything we see or seem is but a dream within a dream" - E.A. Poe
Received on Sunday, 3 December 2000 14:40:53 GMT

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