| Index: third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp b/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
|
| index 961ee219899bf79fa864da09921560acecba8e6d..f6f69410f8e7337eee8925870f31460141cf141d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
|
| @@ -123,8 +123,11 @@ void LayoutRubyBase::moveBlockChildren(LayoutRubyBase* toBase, LayoutObject* bef
|
| anonBlockHere->deleteLineBoxTree();
|
| anonBlockHere->destroy();
|
| }
|
| - // Move all remaining children normally.
|
| - moveChildrenTo(toBase, firstChild(), beforeChild);
|
| + // Move all remaining children normally. If moving all children, include our float list.
|
| + if (!beforeChild)
|
| + moveAllChildrenIncludingFloatsTo(toBase, false);
|
| + else
|
| + moveChildrenTo(toBase, firstChild(), beforeChild);
|
| }
|
|
|
| ETextAlign LayoutRubyBase::textAlignmentForLine(bool /* endsWithSoftBreak */) const
|
|
|