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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp

Issue 2323633002: Implement animation tainted custom property values (Closed)
Patch Set: bigger fallback value 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/cssom/CSSUnparsedValue.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
index b26cbe1082aa8803e0c1ae8d95f8ef4df0d63234..6114e7a46cd351449e8243f89bf0f294d3f80b8a 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
@@ -115,8 +115,9 @@ CSSValue* CSSUnparsedValue::toCSSValue() const {
CSSTokenizer::Scope scope(tokens.toString());
+ bool isAnimationTainted = false;
return CSSVariableReferenceValue::create(
- CSSVariableData::create(scope.tokenRange()));
+ CSSVariableData::create(scope.tokenRange(), isAnimationTainted, true));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698