W3C home > Mailing lists > Public > www-style@w3.org > April 2010

Re: Single-line comments

From: Alberto Lepe <dev@alepe.com>
Date: Mon, 5 Apr 2010 09:41:29 +0900
Message-ID: <o2g8c9249b71004041741i5d94ebb1j71517487c8ecf16b@mail.gmail.com>
To: www-style@w3.org
> I do however suppose that the first thing an optimizer would do is to strip
> out all comments, before it starts to remove all whitespace, just like it
> works in JavaScript minification.

Exactly. I personally use // comments in my CSS and use my own CSS
minimizer script which strip out all comments, new lines, etc. to
produce 1 line CSS files. If I can do it, for sure browsers can do it.
;)
Received on Monday, 5 April 2010 00:42:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:26 GMT