Adds merging adjacent selectors if body is the same.
authorGoalSmashers <jakub@goalsmashers.com>
Mon, 28 Oct 2013 21:03:59 +0000 (22:03 +0100)
committerGoalSmashers <jakub@goalsmashers.com>
Sun, 3 Nov 2013 08:49:22 +0000 (09:49 +0100)
commitfa7dd2d778bec02a5cf345ad987529ac56c6d3d0
tree9da7dbf27cd4de72e75aaa118d0c8e3a1f425f97
parent84f6786b764636f6357052a1d339d4b3ae9ca007
Adds merging adjacent selectors if body is the same.

* Skips if selector is vendor specific, i.e. matches /-(moz|ms|o|webkit)-/.
* Will not merge selectors if one selector may not be supported, e.g. :nth-child, :last-child, etc. - configurable via `--selectors-merge-mode/selectorsMergeMode` option.
* Defaults to merging all selectors so `ie8` mode needs to be forced via mentioned options.
README.md
bin/cleancss
lib/clean.js
lib/selectors/optimizer.js
test/data/big-min.css
test/data/font-awesome-ie7-min.css
test/unit-test.js