Index: Source/core/html/HTMLElement.cpp |
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp |
index 8b3490979356235153c58f3a75c4326a1723384a..7479445319590812758305a3f523313ecc72b898 100644 |
--- a/Source/core/html/HTMLElement.cpp |
+++ b/Source/core/html/HTMLElement.cpp |
@@ -202,6 +202,9 @@ AtomicString HTMLElement::eventNameForAttributeName(const QualifiedName& attrNam |
typedef HashMap<AtomicString, AtomicString> StringToStringMap; |
DEFINE_STATIC_LOCAL(StringToStringMap, attributeNameToEventNameMap, ()); |
if (!attributeNameToEventNameMap.size()) { |
+ attributeNameToEventNameMap.set(onanimationstartAttr.localName(), eventNames().animationstartEvent); |
+ attributeNameToEventNameMap.set(onanimationiterationAttr.localName(), eventNames().animationiterationEvent); |
+ attributeNameToEventNameMap.set(onanimationendAttr.localName(), eventNames().animationendEvent); |
attributeNameToEventNameMap.set(onclickAttr.localName(), eventNames().clickEvent); |
attributeNameToEventNameMap.set(oncontextmenuAttr.localName(), eventNames().contextmenuEvent); |
attributeNameToEventNameMap.set(ondblclickAttr.localName(), eventNames().dblclickEvent); |