Readds shorthand compacting.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 12 Apr 2015 09:49:26 +0000 (10:49 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 12 Apr 2015 16:58:06 +0000 (17:58 +0100)
commit517bae97708b03980c23640705292aafc960128e
treeeedaf763eb4097458ccbff2240bd66bdbab42f1f
parent2e0645dc3902c984b5ec4d33715392108996753e
Readds shorthand compacting.

Basically tries to compact longhands into shorthands if possible,
caring about number of components and their understandability.

It DOES NOT re-add `!important`-based compacting which was previously
available because:

* it's logic is flawed in global context, when introduced important
  property may override properties appearing later on;
* it's very uncommon to occur.
lib/properties/compactable.js
lib/properties/optimizer.js
lib/properties/shorthand-compactor.js
test/fixtures/big-min.css
test/properties/shorthand-compacting-test.js