Index: Source/core/rendering/RenderRegion.cpp |
diff --git a/Source/core/rendering/RenderRegion.cpp b/Source/core/rendering/RenderRegion.cpp |
index 203d207afa8b76d2b40bd1781b838e356578728f..1a739f880d8e765c489a2646992c0464c2e9616e 100644 |
--- a/Source/core/rendering/RenderRegion.cpp |
+++ b/Source/core/rendering/RenderRegion.cpp |
@@ -270,6 +270,9 @@ void RenderRegion::styleDidChange(StyleDifference diff, const RenderStyle* oldSt |
checkRegionStyle(); |
updateRegionHasAutoLogicalHeightFlag(); |
+ |
+ if (oldStyle && oldStyle->writingMode() != style()->writingMode()) |
+ m_flowThread->regionChangedWritingMode(this); |
} |
void RenderRegion::layoutBlock(bool relayoutChildren, LayoutUnit) |