| Index: third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp b/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
|
| index f0cbe2b848f31f97e7f9beb71db0ff6bce653295..c70122bd7bb9a94be6db7800185b6d548609519e 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
|
| +++ b/third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp
|
| @@ -11,6 +11,19 @@ namespace blink {
|
|
|
| CSSStyleValueVector ComputedStylePropertyMap::getAllInternal(CSSPropertyID propertyID)
|
| {
|
| + switch (propertyID) {
|
| + case CSSPropertyLeft:
|
| + case CSSPropertyRight:
|
| + case CSSPropertyTop:
|
| + case CSSPropertyBottom:
|
| + case CSSPropertyHeight:
|
| + case CSSPropertyWidth: {
|
| + const ComputedStyle* style = m_node->layoutObject()->style();
|
| + return StyleValueFactory::computedStyleToStyleValueVector(propertyID, style);
|
| + }
|
| + default:
|
| + break;
|
| + }
|
| const CSSValue* cssValue = m_computedStyleDeclaration->getPropertyCSSValueInternal(propertyID);
|
| if (!cssValue)
|
| return CSSStyleValueVector();
|
|
|