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

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

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: s/FAST_ALLOCATED/FAST_MALLOC/ Created 5 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/CSSProperty.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSProperty.cpp b/third_party/WebKit/Source/core/css/CSSProperty.cpp
index bed5ff87ceff9310c414a3b1db30b3c727964036..e5e4b63cc8fedd42382203f7d15e07d3f867b66a 100644
--- a/third_party/WebKit/Source/core/css/CSSProperty.cpp
+++ b/third_party/WebKit/Source/core/css/CSSProperty.cpp
@@ -256,6 +256,9 @@ bool CSSProperty::isAffectedByAllProperty(CSSPropertyID propertyID)
if (!CSSPropertyMetadata::isEnabledProperty(propertyID))
return false;
+ if (propertyID == CSSPropertyVariable)
+ return false;
+
// all shorthand spec says:
// The all property is a shorthand that resets all CSS properties except
// direction and unicode-bidi. It only accepts the CSS-wide keywords.

Powered by Google App Engine
This is Rietveld 408576698