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

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

Issue 1308073007: Don't special case transition-property: all in parsing and data storage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/core/css/ComputedStyleCSSValueMapping.cpp
diff --git a/Source/core/css/ComputedStyleCSSValueMapping.cpp b/Source/core/css/ComputedStyleCSSValueMapping.cpp
index ad9baf3a8a5c10161d961f71ddb065d20987cd9e..f8e78ae8c95f1fca627ac709c8e341646eb887a5 100644
--- a/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -952,11 +952,9 @@ static PassRefPtrWillBeRawPtr<CSSValue> createTransitionPropertyValue(const CSST
{
if (property.propertyType == CSSTransitionData::TransitionNone)
return cssValuePool().createIdentifierValue(CSSValueNone);
- if (property.propertyType == CSSTransitionData::TransitionAll)
- return cssValuePool().createIdentifierValue(CSSValueAll);
- if (property.propertyType == CSSTransitionData::TransitionUnknown)
+ if (property.propertyType == CSSTransitionData::TransitionUnknownProperty)
return cssValuePool().createValue(property.propertyString, CSSPrimitiveValue::UnitType::CustomIdentifier);
- ASSERT(property.propertyType == CSSTransitionData::TransitionSingleProperty);
+ ASSERT(property.propertyType == CSSTransitionData::TransitionKnownProperty);
return cssValuePool().createValue(getPropertyNameString(property.unresolvedProperty), CSSPrimitiveValue::UnitType::CustomIdentifier);
}

Powered by Google App Engine
This is Rietveld 408576698