Index: Source/WebCore/rendering/RenderBox.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBox.cpp (revision 136566) |
+++ Source/WebCore/rendering/RenderBox.cpp (working copy) |
@@ -258,6 +258,7 @@ |
if (viewStyle->writingMode() != newStyle->writingMode() && (isRootRenderer || !document()->writingModeSetOnDocumentElement())) { |
viewStyle->setWritingMode(newStyle->writingMode()); |
viewRenderer->setHorizontalWritingMode(newStyle->isHorizontalWritingMode()); |
+ viewRenderer->markAllDescendantsWithFloatsForLayout(); |
if (isBodyRenderer) { |
document()->documentElement()->renderer()->style()->setWritingMode(newStyle->writingMode()); |
document()->documentElement()->renderer()->setHorizontalWritingMode(newStyle->isHorizontalWritingMode()); |