Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index c8fd8aa82ed38fc4e1fcd32ff254bf1d5671a2b7..200a70db92e2dfaef148a60e915ee705a07d09e9 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -235,7 +235,7 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty |
// on some sites). |
if ((style->display() == TABLE_HEADER_GROUP || style->display() == TABLE_ROW_GROUP |
|| style->display() == TABLE_FOOTER_GROUP || style->display() == TABLE_ROW) |
- && style->hasInFlowPosition()) |
+ && style->position() == RelativePosition) |
style->setPosition(StaticPosition); |
// writing-mode does not apply to table row groups, table column groups, table rows, and table columns. |