| Index: Source/core/css/StylePropertySet.cpp
|
| diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp
|
| index d0da61710b52cdd6d624c5a5fc789e20ce727e02..811a83f587fdad2c5d152bfa21de9f0ae67021b0 100644
|
| --- a/Source/core/css/StylePropertySet.cpp
|
| +++ b/Source/core/css/StylePropertySet.cpp
|
| @@ -139,8 +139,9 @@ MutableStylePropertySet::MutableStylePropertySet(const StylePropertySet& other)
|
| }
|
| }
|
|
|
| -String StylePropertySet::getPropertyValue(CSSPropertyID propertyID) const
|
| +String StylePropertySet::getPropertyValue(CSSPropertyID unresolvedProperty) const
|
| {
|
| + CSSPropertyID propertyID = resolveCSSPropertyID(unresolvedProperty);
|
| RefPtrWillBeRawPtr<CSSValue> value = getPropertyCSSValue(propertyID);
|
| if (value)
|
| return value->cssText();
|
| @@ -148,8 +149,9 @@ String StylePropertySet::getPropertyValue(CSSPropertyID propertyID) const
|
| return StylePropertySerializer(*this).getPropertyValue(propertyID);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<CSSValue> StylePropertySet::getPropertyCSSValue(CSSPropertyID propertyID) const
|
| +PassRefPtrWillBeRawPtr<CSSValue> StylePropertySet::getPropertyCSSValue(CSSPropertyID unresolvedProperty) const
|
| {
|
| + CSSPropertyID propertyID = resolveCSSPropertyID(unresolvedProperty);
|
| int foundPropertyIndex = findPropertyIndex(propertyID);
|
| if (foundPropertyIndex == -1)
|
| return nullptr;
|
| @@ -351,17 +353,17 @@ bool StylePropertySet::hasFailedOrCanceledSubresources() const
|
| // This is the list of properties we want to copy in the copyBlockProperties() function.
|
| // It is the list of CSS properties that apply specially to block-level elements.
|
| static const CSSPropertyID staticBlockProperties[] = {
|
| + CSSPropertyColumnCount,
|
| + CSSPropertyColumnGap,
|
| + CSSPropertyColumnRuleColor,
|
| + CSSPropertyColumnRuleStyle,
|
| + CSSPropertyColumnRuleWidth,
|
| + CSSPropertyColumnWidth,
|
| CSSPropertyOrphans,
|
| CSSPropertyOverflow, // This can be also be applied to replaced elements
|
| - CSSPropertyWebkitColumnCount,
|
| - CSSPropertyWebkitColumnGap,
|
| - CSSPropertyWebkitColumnRuleColor,
|
| - CSSPropertyWebkitColumnRuleStyle,
|
| - CSSPropertyWebkitColumnRuleWidth,
|
| CSSPropertyWebkitColumnBreakBefore,
|
| CSSPropertyWebkitColumnBreakAfter,
|
| CSSPropertyWebkitColumnBreakInside,
|
| - CSSPropertyWebkitColumnWidth,
|
| CSSPropertyPageBreakAfter,
|
| CSSPropertyPageBreakBefore,
|
| CSSPropertyPageBreakInside,
|
|
|