Merge pull request #3485 from jnu/ie10-flex-unitless

Treat flexPositive, flexNegative as unitless styles
This commit is contained in:
Paul O’Shannessy
2015-04-17 18:35:19 -07:00
parent 16cb748161
commit db6dcd695f
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -18,11 +18,15 @@ See [Inline Styles](/react/tips/inline-styles.html) for more info.
Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of properties that won't get the automatic "px" suffix:
- `boxFlex`
- `boxFlexGroup`
- `columnCount`
- `fillOpacity`
- `flex`
- `flexGrow`
- `flexPositive`
- `flexShrink`
- `flexNegative`
- `fontWeight`
- `lineClamp`
- `lineHeight`
+2
View File
@@ -20,7 +20,9 @@ var isUnitlessNumber = {
columnCount: true,
flex: true,
flexGrow: true,
flexPositive: true,
flexShrink: true,
flexNegative: true,
fontWeight: true,
lineClamp: true,
lineHeight: true,