Fixes #933 - smarter longhand into shorthand merging.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 18 Apr 2017 10:16:56 +0000 (12:16 +0200)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 18 Apr 2017 18:40:29 +0000 (20:40 +0200)
commit0131a34babee915e6e224f2764c79928a64c43c3
tree87a5e54842d62d8ec90868c5dcdbeb58c11c981a
parent9b33a8c20e44383904114789ee523c3864934f34
Fixes #933 - smarter longhand into shorthand merging.

Why:

* When merging in `background-*` longhand properties into `background`
  multiplex shorthand need to be expanded into a multiplex first.
  However all but `background-image` require their values to be copied
  instead of default ones, see https://jsfiddle.net/e8vkxyy4/2/
History.md
lib/optimizer/level-2/compactable.js
lib/optimizer/level-2/properties/override-properties.js
test/optimizer/level-2/properties/override-properties-test.js