| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 60fea5cec5afa7d945372d74ad09a1a5bf42daa1..c21e0a6d6c4135a7ba1b57ba175287c6bc1a319e 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -697,8 +697,13 @@ static CSSValue* consumeLineHeight(CSSParserTokenRange& range,
|
| return consumeLengthOrPercent(range, cssParserMode, ValueRangeNonNegative);
|
| }
|
|
|
| -static CSSValueList* consumeRotation(CSSParserTokenRange& range) {
|
| +static CSSValue* consumeRotation(CSSParserTokenRange& range) {
|
| ASSERT(RuntimeEnabledFeatures::cssIndependentTransformPropertiesEnabled());
|
| +
|
| + CSSValueID id = range.peek().id();
|
| + if (id == CSSValueNone)
|
| + return consumeIdent(range);
|
| +
|
| CSSValueList* list = CSSValueList::createSpaceSeparated();
|
|
|
| for (unsigned i = 0; i < 3; i++) { // 3 dimensions of rotation
|
|
|