diff --git a/src/renderers/dom/shared/CSSProperty.js b/src/renderers/dom/shared/CSSProperty.js index 5e797b15db26d..476117a0b4f3b 100644 --- a/src/renderers/dom/shared/CSSProperty.js +++ b/src/renderers/dom/shared/CSSProperty.js @@ -26,6 +26,8 @@ var isUnitlessNumber = { flexShrink: true, flexNegative: true, flexOrder: true, + gridRow: true, + gridColumn: true, fontWeight: true, lineClamp: true, lineHeight: true, diff --git a/src/renderers/dom/shared/__tests__/CSSProperty-test.js b/src/renderers/dom/shared/__tests__/CSSProperty-test.js index eac640700d627..2861d1c341673 100644 --- a/src/renderers/dom/shared/__tests__/CSSProperty-test.js +++ b/src/renderers/dom/shared/__tests__/CSSProperty-test.js @@ -24,6 +24,8 @@ describe('CSSProperty', function() { expect(CSSProperty.isUnitlessNumber.WebkitLineClamp).toBeTruthy(); expect(CSSProperty.isUnitlessNumber.msFlexGrow).toBeTruthy(); expect(CSSProperty.isUnitlessNumber.MozFlexGrow).toBeTruthy(); + expect(CSSProperty.isUnitlessNumber.msGridRow).toBeTruthy(); + expect(CSSProperty.isUnitlessNumber.msGridColumn).toBeTruthy(); }); });