Comments in CSS

Hi.

Surely this topic came up several times before, but allow me to mention
it again. Wouldn't it be useful to allow C++ like "till end of line"
comments like "//" in CSS?
E.g.: You usually have CSS files like:

selector {
  property1;
  property2;
  property3;
}

So, if you'd like to test the CSS without, say, prop2 (cause you'd like
to see what it's like, when the UA overrides your "color" property...),
it would be really fine, if you could comment it out by just typing "//"
rather than wrap it in "/*"..."*/":

selector {
  property1;
  //property2;        much faster than /*property2*/
  property3;
}

Regards
Manuel

Received on Wednesday, 7 December 2005 16:11:58 UTC