diff --git a/src/dom/CSSProperty.js b/src/dom/CSSProperty.js index c5d3e2e070..8ad2febaed 100644 --- a/src/dom/CSSProperty.js +++ b/src/dom/CSSProperty.js @@ -27,6 +27,10 @@ var isUnitlessNumber = { lineHeight: true, opacity: true, orphans: true, + pitchRange: true, + richness: true, + stress: true, + volume: true, widows: true, zIndex: true, zoom: true diff --git a/src/dom/__tests__/CSSPropertyOperations-test.js b/src/dom/__tests__/CSSPropertyOperations-test.js index 72f84e4534..01a022b91d 100644 --- a/src/dom/__tests__/CSSPropertyOperations-test.js +++ b/src/dom/__tests__/CSSPropertyOperations-test.js @@ -77,10 +77,14 @@ describe('CSSPropertyOperations', function() { zIndex: 5, zoom: 6, lineHeight: 7, - widows: 8 + widows: 8, + volume: 9, + stress: 10, + pitchRange: 11, + richness: 12 })).toBe( 'fill-opacity:1;font-weight:2;opacity:3;orphans:4;z-index:5;zoom:6;' + - 'line-height:7;widows:8;' + 'line-height:7;widows:8;volume:9;stress:10;pitch-range:11;richness:12;' ); });