Index: Source/core/html/HTMLElement.cpp |
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp |
index 7fae6b26659288df365a9880d03686660af221b9..4298135d334e5acb24501637d36695347e4a0811 100644 |
--- a/Source/core/html/HTMLElement.cpp |
+++ b/Source/core/html/HTMLElement.cpp |
@@ -281,6 +281,7 @@ const AtomicString& HTMLElement::eventNameForAttributeName(const QualifiedName& |
attributeNameToEventNameMap.set(onsubmitAttr.localName(), EventTypeNames::submit); |
attributeNameToEventNameMap.set(onsuspendAttr.localName(), EventTypeNames::suspend); |
attributeNameToEventNameMap.set(ontimeupdateAttr.localName(), EventTypeNames::timeupdate); |
+ attributeNameToEventNameMap.set(ontoggleAttr.localName(), EventTypeNames::toggle); |
attributeNameToEventNameMap.set(ontouchcancelAttr.localName(), EventTypeNames::touchcancel); |
attributeNameToEventNameMap.set(ontouchendAttr.localName(), EventTypeNames::touchend); |
attributeNameToEventNameMap.set(ontouchmoveAttr.localName(), EventTypeNames::touchmove); |