| Index: Source/core/css/StylePropertySet.cpp
|
| diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp
|
| index e5c546159c2e13d1ff44bdb87690f14d8c6b1d00..ae509f6b86ea444b2cfe1ea0948b965a8627cbc8 100644
|
| --- a/Source/core/css/StylePropertySet.cpp
|
| +++ b/Source/core/css/StylePropertySet.cpp
|
| @@ -259,16 +259,16 @@ bool StylePropertySet::isPropertyImplicit(CSSPropertyID propertyID) const
|
| return propertyAt(foundPropertyIndex).isImplicit();
|
| }
|
|
|
| -bool MutableStylePropertySet::setProperty(CSSPropertyID propertyID, const String& value, bool important, StyleSheetContents* contextStyleSheet)
|
| +bool MutableStylePropertySet::setProperty(CSSPropertyID unresolvedProperty, const String& value, bool important, StyleSheetContents* contextStyleSheet)
|
| {
|
| // Setting the value to an empty string just removes the property in both IE and Gecko.
|
| // Setting it to null seems to produce less consistent results, but we treat it just the same.
|
| if (value.isEmpty())
|
| - return removeProperty(propertyID);
|
| + return removeProperty(resolveCSSPropertyID(unresolvedProperty));
|
|
|
| // When replacing an existing property value, this moves the property to the end of the list.
|
| // Firefox preserves the position, and MSIE moves the property to the beginning.
|
| - return CSSParser::parseValue(this, propertyID, value, important, cssParserMode(), contextStyleSheet);
|
| + return CSSParser::parseValue(this, unresolvedProperty, value, important, cssParserMode(), contextStyleSheet);
|
| }
|
|
|
| void MutableStylePropertySet::setProperty(CSSPropertyID propertyID, PassRefPtrWillBeRawPtr<CSSValue> prpValue, bool important)
|
|
|