Bug 14816

Summary: setWidth: and setSrc: don't update image
Product: WebKit Reporter: Joachim Bondo <osteslag>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ddkilzer, tonikitoo
Priority: P2 Keywords: InRadar
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://cocoastuff.com/WebKitTestCase-1.zip
Attachments:
Description Flags
Test case application none

Description Joachim Bondo 2007-07-30 14:07:15 PDT
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.
Comment 1 Joachim Bondo 2007-07-30 14:11:04 PDT
Created attachment 15750 [details]
Test case application

Illustrates setWidth:, setHeight:, asetSrc: don't update DOMHTMLImageElement.
Comment 2 David Kilzer (:ddkilzer) 2007-07-31 06:31:35 PDT
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.

Comment 3 David Kilzer (:ddkilzer) 2007-07-31 06:35:32 PDT
<rdar://problem/5373058>
Comment 4 David Kilzer (:ddkilzer) 2015-08-28 19:24:14 PDT
Please adopt the Modern WebKit APIs (WKWebVew). If this request is still valid to the Modern WebKit framework API, please file a new bug.