Hacker Newsnew | past | comments | ask | show | jobs | submit | aualin's commentslogin

Google's Closure tools have been able to do this for several years. It's mainly documented at https://github.com/google/closure-stylesheets/blob/master/RE... but has counterparts in Closure Compiler, and Templates; for JS and HTML, respectively.


What suprises me most is that 6% don't use the width property.


Is actually pretty easy to design without width; you can use max-width OR min-width in a per case basis, you can use margins (a left margin of 10% and a right one of 10% means your width will be roughly 80%) or padding in a similar fashion.


I thought the same exact thing. I've seen some newer CSS frameworks using stuff like min-width (I think for responsive reasons), so maybe that accounts for the 6%? Just a theory, though.


Could be mostly pages without CSS. But layouts that don't need to restrict the width in any way do exist.


Add cursor: pointer or similar to the boxes where you select size, etc.


I remember Pascal being fairly popular, and it does both. (Except if you count comments, but i assume that was not what you meant.)

EDIT: Also Fortran.


They have open sourced the tools for this: https://code.google.com/p/closure-stylesheets/#Renaming

The stated reason is to reduce file size.


I would imagine that http gzip compression would cut transmission size just as well regardless of whether the file text is minified or not.

And I would be wrong; this guy found that gzipped minified text can be 50% smaller than the original gzipped file: http://stackoverflow.com/questions/807119/gzip-versus-minify


Is it Lua or LuaJIT?


LuaJIT


Ah, now we are closer to mongrel2 coming with spdy


Great stuff, let's hope this happens in Sweden as well


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: