Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 261d2113cbef69399714d23adf56fe2d1df99a0e..388b5fb3a7dfdf6edaf261d173098af23bac15fa 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -813,11 +813,7 @@ void RenderBlock::addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, |
// If the requested beforeChild is not one of our children, then this is because |
// there is an anonymous container within this object that contains the beforeChild. |
RenderObject* beforeChildAnonymousContainer = beforeChildContainer; |
- if (beforeChildAnonymousContainer->isAnonymousBlock() |
- // Full screen renderers and full screen placeholders act as anonymous blocks, not tables: |
- || beforeChildAnonymousContainer->isRenderFullScreen() |
- || beforeChildAnonymousContainer->isRenderFullScreenPlaceholder() |
- ) { |
+ if (beforeChildAnonymousContainer->isAnonymousBlock()) { |
// Insert the child into the anonymous block box instead of here. |
if (newChild->isInline() || newChild->isFloatingOrOutOfFlowPositioned() || beforeChild->parent()->slowFirstChild() != beforeChild) |
beforeChild->parent()->addChild(newChild, beforeChild); |