W3C home > Mailing lists > Public > www-style@w3.org > September 2002

C++ // style comments

From: <Skewer_Lists@GadgetScope.com>
Date: Sat, 21 Sep 2002 00:23:00 -0500
Message-ID: <3D8C0234.1080408@GadgetScope.com>
To: www-style@w3.org

Has any thought been given to adding C++ style comments (//) to CSS3 in 
addition to the traditional /* */? CSS is one of the few languages that 
hasn't implemented the single-line comment system, and I find that to be 
much more convenient. I already use that kind of comment in JavaScript 
and it would be better for consistency if I could use them in CSS3 too.

As a bonus (depending on how you look at it), since CSS3 style sheets 
with these kind of comments would produce errors on older user agents, 
it would force implementors to update (in whole or in part) their style 
engines to support CSS3.
Received on Saturday, 21 September 2002 01:23:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:03 UTC