Index: third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
index 9d3818002248c22e5c8e9c750a5f733549fbfbd5..3ee070eb654ace675a568e52ace4e896dbd0139a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
@@ -68,7 +68,7 @@ LayoutMenuList::~LayoutMenuList() |
// to prevent children from rendering. |
bool LayoutMenuList::isChildAllowed(LayoutObject* object, const ComputedStyle&) const |
{ |
- return object->isAnonymous(); |
+ return object->isAnonymous() && !object->isLayoutFullScreen(); |
} |
void LayoutMenuList::createInnerBlock() |