Adds reducing non-adjacent selectors when overridden by more complex selectors.
authorGoalSmashers <jakub@goalsmashers.com>
Sat, 2 Nov 2013 12:07:41 +0000 (13:07 +0100)
committerGoalSmashers <jakub@goalsmashers.com>
Sun, 3 Nov 2013 08:49:23 +0000 (09:49 +0100)
commit6536cce5b52ac82423eb6e95e75f45e637f95634
treeefd4f8226c685973f32981550e5777413ff6d132
parenta14508088d3b868568d14dd1436bd6c0d8d4a3a4
Adds reducing non-adjacent selectors when overridden by more complex selectors.

* E.g. "strong{color:red}.one,strong{color:#fff}" can be reduced to ".one,strong{color:#fff}".
* Fixes property optimizer when body is empty.
* Fixes property optimizer with merging on joins.
History.md
lib/properties/optimizer.js
lib/selectors/optimizer.js
test/data/big-min.css
test/data/blueprint-min.css
test/unit-test.js