Bug#748182: lintian: detect minified CSS
Paul Wise <pabs@debian.org> writes:
> Package: lintian
> Severity: wishlist
> Please detect minified CSS in the same way minified JS is detected:
> http://sources.debian.net/src/prophet/latest/share/web/static/yui/css/reset.css
Why? Unlike with Javascript, that's still the preferred form of
modification and there's been no meaningful loss of information. You can
just run it through any CSS code formatter and get back an entirely
reasonable human-editable form of the style information.
With Javascript, you lose all the variable names and other syntactic
information that makes it much harder to use the code in any meaningful
way, but CSS doesn't have that sort of abstraction. At most you're losing
comments that may or may not have ever existed in the first place (most
likely not; most CSS I see in the wild has no comments anyway).
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: