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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp

Issue 1573423002: CSS Custom Properties fail when defined in specific order (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding testcase Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/variables/variable-resolution-order-independent.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
index 73284bf71042a3feca3f3e5c0340713d066add62..11af23ec01c730672c747f9248ffecb5f7aa64d0 100644
--- a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
@@ -55,7 +55,7 @@ void CSSVariableResolver::resolveVariableTokensRecursive(CSSParserTokenRange ran
Vector<CSSParserToken> tokens;
if (variableData->needsVariableResolution()) {
m_variablesSeen.add(variableName);
- resolveVariableReferencesFromTokens(variableData->tokens(), result, context);
+ resolveVariableReferencesFromTokens(variableData->tokens(), tokens, context);
m_variablesSeen.remove(variableName);
// The old variable data holds onto the backing string the new resolved CSSVariableData
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/variables/variable-resolution-order-independent.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698