@samitouri / QOS-React-2 / commits / aa9274991d

Treat boxOrdinalGroup and flexOrder as unitless.

Matthew Miner committed Apr 24, 2015 at 17:05 UTC aa9274991d8e0dd699c9254aa1965c94d6419acb
2 files changed +4
docs/tips/06-style-props-value-px.md
+2
@@ -20,6 +20,7 @@ Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of pr
20
21 - `boxFlex`
22 - `boxFlexGroup`
23 +- `boxOrdinalGroup`
24 - `columnCount`
25 - `fillOpacity`
26 - `flex`
@@ -27,6 +28,7 @@ Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of pr
28 - `flexPositive`
29 - `flexShrink`
30 - `flexNegative`
31 +- `flexOrder`
32 - `fontWeight`
33 - `lineClamp`
34 - `lineHeight`
src/browser/ui/dom/CSSProperty.js
+2
@@ -17,12 +17,14 @@
17 var isUnitlessNumber = {
18 boxFlex: true,
19 boxFlexGroup: true,
20 + boxOrdinalGroup: true,
21 columnCount: true,
22 flex: true,
23 flexGrow: true,
24 flexPositive: true,
25 flexShrink: true,
26 flexNegative: true,
27 + flexOrder: true,
28 fontWeight: true,
29 lineClamp: true,
30 lineHeight: true,