Reviewed by Darin.
[WebKit-https.git] / WebCore / khtml / html / html_elementimpl.cpp
index 5d2b794..8010059 100644 (file)
@@ -499,6 +499,10 @@ void HTMLElementImpl::parseHTMLAttribute(HTMLAttributeImpl *attr)
         setHTMLEventListener(EventImpl::DRAGEND_EVENT,
                              getDocument()->createHTMLEventListener(attr->value().string()));
         break;
+    case ATTR_ONSELECTSTART:
+        setHTMLEventListener(EventImpl::SELECTSTART_EVENT,
+                             getDocument()->createHTMLEventListener(attr->value().string()));
+        break;
         // other misc attributes
     default:
 #ifdef UNSUPPORTED_ATTR