| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index a1946e9fa9648d8a6382fdf6e9cbe2317df377cb..a6be4d1d7f99a8aaa89756fd8b480dd775ad3e7a 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -258,10 +258,7 @@ void LayoutBlock::addChildBeforeDescendant(LayoutObject* newChild, LayoutObject*
|
|
|
| // If the requested insertion point is not one of our children, then this is because
|
| // there is an anonymous container within this object that contains the beforeDescendant.
|
| - if (beforeDescendantContainer->isAnonymousBlock()
|
| - // Full screen layoutObjects and full screen placeholders act as anonymous blocks, not tables:
|
| - || beforeDescendantContainer->isLayoutFullScreen()
|
| - || beforeDescendantContainer->isLayoutFullScreenPlaceholder()) {
|
| + if (beforeDescendantContainer->isAnonymousBlock()) {
|
| // Insert the child into the anonymous block box instead of here.
|
| if (newChild->isInline() || newChild->isFloatingOrOutOfFlowPositioned() || beforeDescendant->parent()->slowFirstChild() != beforeDescendant)
|
| beforeDescendant->parent()->addChild(newChild, beforeDescendant);
|
|
|