From 96126e9ff4934cefe11542a5fb4402cfca3b7684 Mon Sep 17 00:00:00 2001 From: Brandon Tilley Date: Fri, 7 Nov 2014 09:56:28 -0800 Subject: [PATCH] Add strokeOpacity to unitless CSS properties --- src/browser/ui/dom/CSSProperty.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/browser/ui/dom/CSSProperty.js b/src/browser/ui/dom/CSSProperty.js index 3a8540d7b0b..b93c093ed18 100644 --- a/src/browser/ui/dom/CSSProperty.js +++ b/src/browser/ui/dom/CSSProperty.js @@ -16,7 +16,6 @@ */ var isUnitlessNumber = { columnCount: true, - fillOpacity: true, flex: true, flexGrow: true, flexShrink: true, @@ -28,7 +27,11 @@ var isUnitlessNumber = { orphans: true, widows: true, zIndex: true, - zoom: true + zoom: true, + + // SVG-related properties + fillOpacity: true, + strokeOpacity: true }; /**