| Index: third_party/WebKit/Source/core/animation/NumberPropertyFunctions.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/NumberPropertyFunctions.cpp b/third_party/WebKit/Source/core/animation/NumberPropertyFunctions.cpp
|
| index f79aa101324d18b61690c121cfe73dedd88b648e..15d0b31d273dcb5009bd48c5ce10e2e02d531eb8 100644
|
| --- a/third_party/WebKit/Source/core/animation/NumberPropertyFunctions.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/NumberPropertyFunctions.cpp
|
| @@ -32,6 +32,9 @@ bool NumberPropertyFunctions::getNumber(CSSPropertyID property,
|
| case CSSPropertyOpacity:
|
| result = style.opacity();
|
| return true;
|
| + case CSSPropertyOrder:
|
| + result = style.order();
|
| + return true;
|
| case CSSPropertyOrphans:
|
| result = style.orphans();
|
| return true;
|
| @@ -117,6 +120,7 @@ double NumberPropertyFunctions::clampNumber(CSSPropertyID property,
|
| case CSSPropertyColumnRuleWidth:
|
| return clampTo<unsigned short>(round(value));
|
|
|
| + case CSSPropertyOrder:
|
| case CSSPropertyZIndex:
|
| return clampTo<int>(round(value));
|
|
|
| @@ -149,6 +153,9 @@ bool NumberPropertyFunctions::setNumber(CSSPropertyID property,
|
| case CSSPropertyOpacity:
|
| style.setOpacity(value);
|
| return true;
|
| + case CSSPropertyOrder:
|
| + style.setOrder(value);
|
| + return true;
|
| case CSSPropertyOrphans:
|
| style.setOrphans(value);
|
| return true;
|
|
|