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 e004d8369f610b86fe806b496bc9904fbcc6e97d..842318f5db836237b6569f3b770afbefdf36a431 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
@@ -56,7 +56,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() |