Index: Source/core/page/CustomContextMenuProvider.cpp |
diff --git a/Source/core/page/CustomContextMenuProvider.cpp b/Source/core/page/CustomContextMenuProvider.cpp |
index 0dcb6767c0312aac578c450cc5a7419cffb43cbb..d60fe9ebc9fc5b7b378263303cf794968c2c1629 100644 |
--- a/Source/core/page/CustomContextMenuProvider.cpp |
+++ b/Source/core/page/CustomContextMenuProvider.cpp |
@@ -83,7 +83,7 @@ void CustomContextMenuProvider::appendMenuItem(HTMLMenuItemElement* menuItem, Co |
bool enabled = !menuItem->fastHasAttribute(disabledAttr); |
ContextMenuAction action = static_cast<ContextMenuAction>(ContextMenuItemBaseCustomTag + m_menuItems.size() - 1); |
- if (equalIgnoringCase(menuItem->fastGetAttribute(typeAttr), "checkbox")) |
+ if (equalIgnoringCase(menuItem->fastGetAttribute(typeAttr), "checkbox") || equalIgnoringCase(menuItem->fastGetAttribute(typeAttr), "radio")) |
contextMenu.appendItem(ContextMenuItem(CheckableActionType, action, labelString, enabled, menuItem->fastHasAttribute(checkedAttr))); |
else |
contextMenu.appendItem(ContextMenuItem(ActionType, action, labelString, enabled, false)); |