Move mouse event dispatch from Node to Element.
<https://webkit.org/b/122203> Reviewed by Anders Carlsson. We never dispatch mouse events on text or other non-element nodes, so move the related logic to using Element. Node::dispatchMouseEvent() moves to Element. I also changed the relatedTarget argument to be an Element* since the related target is never a Node either. Most of this patch is *Node -> *Element renames in EventHandler. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 101 additions and 87 deletions