Fixes #779 - merging `background-(position|size)`.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 1 Jun 2016 06:43:28 +0000 (08:43 +0200)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 1 Jun 2016 09:19:07 +0000 (11:19 +0200)
commit04a587f58c4fb4c545222e10e4d2174eca9f2f35
tree3739badbabbf4c71a973a3181a3d25000fa7b4c3
parent4e36f452d26f3a032b0b97a18638a2471c8f30ec
Fixes #779 - merging `background-(position|size)`.

Those two properties were always merged but if vendor-prefixed
functions are used then they should not be.

Note we changed `everyCombination` checker to check for values
on same position when merging **longhand** properties which is what
browsers do, e.g.

```css
background-position: calc(100% - 1em) 1em;
background-position: calc(100% - 2em) 2em;
```

Now `everyCombination` checks if 1st and 2nd values can be merged
separately and ignores whether 1st can be merged with 2nd.
History.md
lib/properties/can-override.js
lib/properties/compactable.js
lib/properties/every-combination.js
test/properties/override-compacting-test.js