Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 4df42f3590ed4458f7bf27df79c4a8e60cbff7f0..fc8741d6e0a4c05740452b95a67455ed198f160a 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -341,7 +341,9 @@ static const CSSPropertyID staticComputableProperties[] = { |
CSSPropertyGlyphOrientationHorizontal, |
CSSPropertyGlyphOrientationVertical, |
CSSPropertyVectorEffect, |
- CSSPropertyPaintOrder |
+ CSSPropertyPaintOrder, |
+ CSSPropertyX, |
+ CSSPropertyY |
}; |
static const Vector<CSSPropertyID>& computableProperties() |
@@ -481,6 +483,8 @@ static bool isLayoutDependent(CSSPropertyID propertyID, PassRefPtr<LayoutStyle> |
case CSSPropertyMotionRotation: |
case CSSPropertyWidth: |
case CSSPropertyWebkitFilter: |
+ case CSSPropertyX: |
+ case CSSPropertyY: |
return true; |
case CSSPropertyMargin: |
return renderer && renderer->isBox() && (!style || !style->marginBottom().isFixed() || !style->marginTop().isFixed() || !style->marginLeft().isFixed() || !style->marginRight().isFixed()); |