Bug 8950

Summary: onclick handler set on OBJECT doesn't work
Product: WebKit Reporter: Krishna <krishnamurty.podipireddy>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: CLOSED INVALID    
Severity: Normal CC: bradley.morrison, ian, S60webkit
Priority: P2    
Version: 312.x   
Hardware: S60 Hardware   
OS: S60 3rd edition   
Attachments:
Description Flags
OnClick handler html source
none
This image needs to be copied to the same html source directory none

Description Krishna 2006-05-16 17:49:58 PDT
In Safari, the "onClick works!" does not pop up when clicking on the image. This works ok on Opera. This does not work either on IE and Firefox.

How to reproduce:
1.Copy the attached html page and jpg image to the same directory 
2. Load the html page.
3. Click on the image.
Expected result:
The message "onClickworks!"" should be displayed
Actual result :
The message "onClickworks!"" is not displayed
Comment 1 Krishna 2006-05-16 17:51:35 PDT
Created attachment 8359 [details]
OnClick handler html source
Comment 2 Krishna 2006-05-16 17:52:40 PDT
Created attachment 8360 [details]
This image needs to be copied to the same html source directory
Comment 3 Alexey Proskuryakov 2006-05-16 20:24:19 PDT
This is closely related to bug 5793. To work around, add a type attribute:

<object align="center" data="a.gif" type="image/gif" width="200" height="200" style="border: solid olive"  onClick="fMain()">
Comment 4 Dave Hyatt 2006-05-16 21:05:44 PDT
The image also doesn't scale.  Strange.
Comment 5 Krishna 2006-05-30 10:33:40 PDT
TSW Error ID: EQWU-6KZANQ
Comment 6 Bradley Morrison 2008-04-09 11:31:50 PDT
Bulk update of s60 bugs - tagging and closing.
Comment 7 Bradley Morrison 2008-04-09 11:39:31 PDT
Bulk closing of all s60 platform bugs. 

Sorry for the noise!
Comment 8 Joel Parks 2011-03-21 11:52:07 PDT
re-purposing InTSW keyword for use by QtWebkit team