Fixes #681 - property inheritance & restructuring.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Mon, 28 Sep 2015 08:43:31 +0000 (09:43 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Mon, 28 Sep 2015 09:46:56 +0000 (10:46 +0100)
commitfe4677efc683a22a6e54f4e38b442d8b62b31887
tree0479cb6522e5eb29f33680c259181151ebe58d43
parent372509050f1f88e2b2f5e21ace894e2a5bc70b6f
Fixes #681 - property inheritance & restructuring.

We should not reorder CSS properties which are inherited and happen
to have a shorthand, which applies to `font`, `line-height` (which
shorthand is `font`), and `list-style`.

Other properties that don't have a shorthand are already not
reorderable based on their value.
History.md
lib/selectors/reorderable.js
test/fixtures/big-min.css
test/fixtures/blueprint-min.css
test/fixtures/bootstrap-min.css
test/selectors/reorderable-test.js
test/selectors/restructure-test.js