Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2625313002: CSS: Rotate support for none and fixed responsive-test.js (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index a3e6b89cb990f45d57b068b69f12bf60a6e42d1e..a386f053c7bca4c42467a3610a7fd5c45bfb95aa 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -3579,8 +3579,7 @@ const CSSValue* ComputedStyleCSSValueMapping::get(
}
case CSSPropertyRotate: {
if (!style.rotate())
- return CSSPrimitiveValue::create(0,
- CSSPrimitiveValue::UnitType::Degrees);
+ return CSSIdentifierValue::create(CSSValueNone);
CSSValueList* list = CSSValueList::createSpaceSeparated();
if (style.rotate()->x() != 0 || style.rotate()->y() != 0 ||

Powered by Google App Engine
This is Rietveld 408576698