Quick fix for an omission from r107301 caught by jchaffraix
authormdelaney@apple.com <mdelaney@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Feb 2012 01:16:46 +0000 (01:16 +0000)
committermdelaney@apple.com <mdelaney@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Feb 2012 01:16:46 +0000 (01:16 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@107318 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/css/CSSComputedStyleDeclaration.cpp

index adade4b097855d121a8eaa097e6c4d10839a0f97..b29d9a08014e7f21edda12eadc8352269254fe11 100644 (file)
@@ -1403,7 +1403,7 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(int proper
             for (const FillLayer* currLayer = layers; currLayer; currLayer = currLayer->next()) {
                 RefPtr<CSSValueList> positionList = CSSValueList::createSpaceSeparated();
                 positionList->append(zoomAdjustedPixelValueForLength(currLayer->xPosition(), style.get(), cssValuePool));
             for (const FillLayer* currLayer = layers; currLayer; currLayer = currLayer->next()) {
                 RefPtr<CSSValueList> positionList = CSSValueList::createSpaceSeparated();
                 positionList->append(zoomAdjustedPixelValueForLength(currLayer->xPosition(), style.get(), cssValuePool));
-                positionList->append(zoomAdjustedPixelValueForLength(currLayer->xPosition(), style.get(), cssValuePool));
+                positionList->append(zoomAdjustedPixelValueForLength(currLayer->yPosition(), style.get(), cssValuePool));
                 list->append(positionList);
             }
 
                 list->append(positionList);
             }