Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 33ebe5d70e5514d82cfa6dbdc943c3469146d4cd..ef7e2bab6a645d6ef80f4b5bdf91d4185e2bcc5a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -2071,6 +2071,9 @@ void LayoutObject::propagateStyleToAnonymousChildren(bool blockChildrenOnly) |
if (blockChildrenOnly && !child->isLayoutBlock()) |
continue; |
+ if (child->isLayoutFullScreen() || child->isLayoutFullScreenPlaceholder()) |
+ continue; |
+ |
RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisplay(styleRef(), child->style()->display()); |
// Preserve the position style of anonymous block continuations as they can have relative position when |