Fixes #833 - moving `@media` queries.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 15 Nov 2016 16:11:24 +0000 (17:11 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 16 Nov 2016 10:50:54 +0000 (11:50 +0100)
commita00f5d6ae61b79a83d86b04aaf865f1ad64f6240
treeb0eebed5824758be9cd75bf015332ee23f6ee0bb
parentc91bfcb3bb8ee2d6f9e56ccfb795e0e56237db97
Fixes #833 - moving `@media` queries.

Why:

* So it's not about `!important` modifier but `@` sign which were
  incorrectly treated as a special marker starting a block.
* The solution is somewhat hacky - checking if a preceding character
  is not a special marker - but an improved tokenizer will be there
  soon (-ish).
History.md
lib/tokenizer/tokenize.js
test/selectors/merge-media-queries-test.js