| 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 18d3e2f717d20593acc17ad81a96683db5d08c5d..1a082a529732ddc00c7c0e3ff36f94f5d20640b1 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp
|
| @@ -126,10 +126,12 @@ void LayoutRubyBase::moveBlockChildren(LayoutRubyBase* toBase,
|
| }
|
| // Move all remaining children normally. If moving all children, include our
|
| // float list.
|
| - if (!beforeChild)
|
| + if (!beforeChild) {
|
| moveAllChildrenIncludingFloatsTo(toBase, toBase->hasLayer() || hasLayer());
|
| - else
|
| + } else {
|
| moveChildrenTo(toBase, firstChild(), beforeChild);
|
| + removeFloatingObjectsFromDescendants();
|
| + }
|
| }
|
|
|
| ETextAlign LayoutRubyBase::textAlignmentForLine(
|
|
|