Index: Source/core/css/StylePropertySet.cpp |
diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp |
index e5c546159c2e13d1ff44bdb87690f14d8c6b1d00..fdcdc7845d0a835b54420549f8b0c5aaf83d13af 100644 |
--- a/Source/core/css/StylePropertySet.cpp |
+++ b/Source/core/css/StylePropertySet.cpp |
@@ -357,7 +357,7 @@ void MutableStylePropertySet::addParsedProperties(const WillBeHeapVector<CSSProp |
void MutableStylePropertySet::addParsedProperty(const CSSProperty& property) |
{ |
// Only add properties that have no !important counterpart present |
- if (!propertyIsImportant(property.id()) || property.isImportant()) |
+ if (!propertyIsImportant(property.id()) || property.isImportant() || forceOverride()) |
setProperty(property); |
} |