Chromium Code Reviews| Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
| diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
| index 940b6a059bdc7bb1787faadf0015652220d254f8..55a9462fc443cc3c9265a57bfeb82efe98b2437d 100644 |
| --- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
| +++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
| @@ -562,6 +562,8 @@ static PassRefPtr<CSSValue> zoomAdjustedPixelValueForLength(const Length& length |
| { |
| if (length.isFixed()) |
| return zoomAdjustedPixelValue(length.value(), style); |
| + if (length.isCalculated()) |
| + return cssValuePool().createValue(length, style); |
| return cssValuePool().createValue(length); |
|
alancutter (OOO until 2018)
2013/10/08 11:20:08
The "if (length.isCalculated())" is not required h
|
| } |