SVN commit 444388 by orlovich: Use HTMLImageElement for the JS Image class like other browsers do. Fixes #64702, #77085, and let's a hack for event sources to be removed. Based heavily on the patch to Apple WebCore by Anders Carlsson Also merged in handling of width, height parameters to Image from WC while I was at it. To support this, completed, width, height, in HTMLImageElementImpl adjusted to work well when not attached. Testcases upcoming. BUG:64072 BUG:77085 M +0 -5 dom/dom2_events.h M +3 -9 ecma/kjs_events.cpp M +1 -3 ecma/kjs_events.h M +21 -104 ecma/kjs_html.cpp M +0 -20 ecma/kjs_html.h M +19 -6 html/html_imageimpl.cpp