I have made an application that illustrates the problem: -setWidth: (or setHeight:) on a DOMHTMLImageElement doesn't result in an update of the image. Same problem with setSrc: See application at URL (http://cocoastuff.com/WebKitTestCase-1.zip). This is also a problem on the shipping version of WebKit, 419.2.1.
Created attachment 15750 [details] Test case application Illustrates setWidth:, setHeight:, asetSrc: don't update DOMHTMLImageElement.
Confirmed with a local debug build of WebKit r24792 with Safari 3 Public Beta v. 3.0.2 (522.12) on Mac OS X 10.4.10 (8R218). * STEPS TO REPRODUCE 1. Download the example application. 2. Open it in Xcode. 3. Build and Go. 4. Follow the instructions.
<rdar://problem/5373058>
Please adopt the Modern WebKit APIs (WKWebVew). If this request is still valid to the Modern WebKit framework API, please file a new bug.