| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp
|
| index 081aaa7a1f40befe2d92e805099ed1200b1aaf49..03b87bdb7a89242a457a748e7c3cf0ad31183390 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "core/css/properties/CSSPropertyAPIRotate.h"
|
|
|
| +#include "core/CSSValueKeywords.h"
|
| #include "core/css/CSSValueList.h"
|
| #include "core/css/parser/CSSPropertyParserHelpers.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| @@ -14,6 +15,11 @@ const CSSValue* CSSPropertyAPIRotate::parseSingleValue(
|
| CSSParserTokenRange& range,
|
| const CSSParserContext* context) {
|
| DCHECK(RuntimeEnabledFeatures::cssIndependentTransformPropertiesEnabled());
|
| +
|
| + CSSValueID id = range.peek().id();
|
| + if (id == CSSValueNone)
|
| + return CSSPropertyParserHelpers::consumeIdent(range);
|
| +
|
| CSSValueList* list = CSSValueList::createSpaceSeparated();
|
|
|
| for (unsigned i = 0; i < 3; i++) { // 3 dimensions of rotation
|
|
|