Fixes #821 - edge case in reducing non-adjacent selectors.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 16 Nov 2016 10:43:17 +0000 (11:43 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 16 Nov 2016 10:51:09 +0000 (11:51 +0100)
commit228d4810327139b46243b8297f573dad3a63eff3
tree4636936b03d67f81b4c150764b9c970337cfe432
parentbfa16c32ec2b2b6d272336055dbab64a235fc09c
Fixes #821 - edge case in reducing non-adjacent selectors.

Why:

* In case of previously optimized empty rules, the join positions
  were not calculated correctly resulting in tokens being
  incorrectly optimized.
History.md
lib/selectors/reduce-non-adjacent.js
test/selectors/reduce-non-adjacent-test.js