Skip to content

Commit b88592a

Browse files
committed
Merge pull request facebook#4665 from spicyj/facebookgh-2407
Ensure IE8 style expansion list is up to date
2 parents f4f22a0 + b126926 commit b88592a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/renderers/dom/shared/CSSProperty.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,16 @@ Object.keys(isUnitlessNumber).forEach(function(prop) {
8080
*/
8181
var shorthandPropertyExpansions = {
8282
background: {
83+
backgroundAttachment: true,
84+
backgroundColor: true,
8385
backgroundImage: true,
84-
backgroundPosition: true,
86+
backgroundPositionX: true,
87+
backgroundPositionY: true,
8588
backgroundRepeat: true,
86-
backgroundColor: true,
89+
},
90+
backgroundPosition: {
91+
backgroundPositionX: true,
92+
backgroundPositionY: true,
8793
},
8894
border: {
8995
borderWidth: true,
@@ -118,6 +124,11 @@ var shorthandPropertyExpansions = {
118124
lineHeight: true,
119125
fontFamily: true,
120126
},
127+
outline: {
128+
outlineWidth: true,
129+
outlineStyle: true,
130+
outlineColor: true,
131+
},
121132
};
122133

123134
var CSSProperty = {

0 commit comments

Comments
 (0)