Index: Source/core/css/CSSProperty.cpp |
diff --git a/Source/core/css/CSSProperty.cpp b/Source/core/css/CSSProperty.cpp |
index f3b0764090e1e9756685fbb2425e3afd4f81e4fc..bed5ff87ceff9310c414a3b1db30b3c727964036 100644 |
--- a/Source/core/css/CSSProperty.cpp |
+++ b/Source/core/css/CSSProperty.cpp |
@@ -253,6 +253,9 @@ bool CSSProperty::isAffectedByAllProperty(CSSPropertyID propertyID) |
if (propertyID == CSSPropertyAll) |
return false; |
+ if (!CSSPropertyMetadata::isEnabledProperty(propertyID)) |
+ 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. |