diff --git a/content/xul/templates/src/nsXULContentBuilder.cpp b/content/xul/templates/src/nsXULContentBuilder.cpp index 8ea7057bfd22..ed39fcf102a5 100644 --- a/content/xul/templates/src/nsXULContentBuilder.cpp +++ b/content/xul/templates/src/nsXULContentBuilder.cpp @@ -1308,7 +1308,6 @@ nsXULContentBuilder::IsOpen(nsIContent* aElement) // XXXhyatt Use the XBL service to obtain a base tag. nsIAtom *tag = aElement->Tag(); if (tag == nsGkAtoms::menu || - tag == nsGkAtoms::menulist || tag == nsGkAtoms::menubutton || tag == nsGkAtoms::toolbarbutton || tag == nsGkAtoms::button ||