Fixes #662 - !important properties and selector reducing.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 5 Sep 2015 20:12:49 +0000 (21:12 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Mon, 14 Sep 2015 12:12:51 +0000 (13:12 +0100)
commitb5b50b9ab801935a24fd333caee95d0371530ae8
treefce865d7cec27dd5ec20a0f4a43b9df6fa82909f
parent9bdf3ac00f4da7353992592319af2d8c3256a0a3
Fixes #662 - !important properties and selector reducing.

It was possible that an !important property was overridden during
advanced reducing and an optimization was discarded, but due to
lack of cloning the change propagated nevertheless.
History.md
lib/selectors/reduce-non-adjacent.js
lib/utils/clone-array.js [new file with mode: 0644]
test/selectors/reduce-non-adjacent-test.js
test/utils/clone-array-test.js [new file with mode: 0644]