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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 2323633002: Implement animation tainted custom property values (Closed)
Patch Set: Rebased Created 4 years, 2 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/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 8d28947b7dcb905b9e302db57450358aeefde037..7532206a7ce1663130bee1cf3895eb0f84880709 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -159,8 +159,9 @@ bool CSSPropertyParser::parseValueStart(CSSPropertyID unresolvedProperty,
}
if (CSSVariableParser::containsValidVariableReferences(originalRange)) {
+ bool isAnimationTainted = false;
CSSVariableReferenceValue* variable = CSSVariableReferenceValue::create(
- CSSVariableData::create(originalRange));
+ CSSVariableData::create(originalRange, isAnimationTainted, true));
if (isShorthand) {
const CSSPendingSubstitutionValue& pendingValue =

Powered by Google App Engine
This is Rietveld 408576698