Re: CSS comment syntax

1)
/* text */ - is a comment, where "text" is the comment

2)
/** text*/ - is a comment, where "* text" is the comment

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

4)
/* \*/ */ - ambiguous, the comment (where the comment is "\") will end at
the first asterisk-slash, the second one will be ignored


Cristiano Guglielmetti
MCP & Founding member of the Italian User Group for SQL Server
Website: http://space.tin.it/computer/crguglie/
Wapsite: http://www.uni.tim.it/web/guglielmetti/
UGISS Website: http://www.ugiss.org/


----- Original Message -----
From: "Bjoern Hoehrmann" <derhoermi@gmx.net>
To: <www-style@w3.org>
Sent: Saturday, December 02, 2000 6:45 PM
Subject: CSS comment syntax


> Hi,
>
> Which of these lines are comments and what is their content?
>
> /**/
> /** */
> \/* */
> /* \*/ */
>
> I'd say 1, 2 and 4 are comments, with the content '', '* ' and ' \*/ ',
> correct?
>
> regards,
> --
> 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 Saturday, 2 December 2000 14:13:25 UTC