Bug 14816 - setWidth: and setSrc: don't update image
Summary: setWidth: and setSrc: don't update image
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://cocoastuff.com/WebKitTestCase-...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-07-30 14:07 PDT by Joachim Bondo
Modified: 2015-08-28 19:24 PDT (History)
2 users (show)

See Also:


Attachments
Test case application (40.25 KB, application/zip)
2007-07-30 14:11 PDT, Joachim Bondo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.