Index: Source/core/rendering/style/RenderStyle.cpp |
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp |
index 6c5d92e353290c20d657bea682c58708ef1468f8..cee0f894f8a154893302580c023b6a008b47f441 100644 |
--- a/Source/core/rendering/style/RenderStyle.cpp |
+++ b/Source/core/rendering/style/RenderStyle.cpp |
@@ -543,7 +543,6 @@ bool RenderStyle::diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& oth |
|| noninherited_flags.overflowY != other.noninherited_flags.overflowY |
|| noninherited_flags.clear != other.noninherited_flags.clear |
|| noninherited_flags.unicodeBidi != other.noninherited_flags.unicodeBidi |
- || noninherited_flags.position != other.noninherited_flags.position |
|| noninherited_flags.floating != other.noninherited_flags.floating |
|| noninherited_flags.originalDisplay != other.noninherited_flags.originalDisplay) |
return true; |
@@ -604,7 +603,8 @@ bool RenderStyle::diffNeedsFullLayout(const RenderStyle& other) const |
return true; |
} |
- if (noninherited_flags.verticalAlign != other.noninherited_flags.verticalAlign) |
+ if (noninherited_flags.verticalAlign != other.noninherited_flags.verticalAlign |
+ || noninherited_flags.position != other.noninherited_flags.position) |
return true; |
if (surround.get() != other.surround.get()) { |