CLOSED INVALID Bug 8950
onclick handler set on OBJECT doesn't work
https://bugs.webkit.org/show_bug.cgi?id=8950
Summary onclick handler set on OBJECT doesn't work
Krishna
Reported 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
Attachments
OnClick handler html source (528 bytes, text/html)
2006-05-16 17:51 PDT, Krishna
no flags
This image needs to be copied to the same html source directory (9.90 KB, image/gif)
2006-05-16 17:52 PDT, Krishna
no flags
Krishna
Comment 1 2006-05-16 17:51:35 PDT
Created attachment 8359 [details] OnClick handler html source
Krishna
Comment 2 2006-05-16 17:52:40 PDT
Created attachment 8360 [details] This image needs to be copied to the same html source directory
Alexey Proskuryakov
Comment 3 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()">
Dave Hyatt
Comment 4 2006-05-16 21:05:44 PDT
The image also doesn't scale. Strange.
Krishna
Comment 5 2006-05-30 10:33:40 PDT
TSW Error ID: EQWU-6KZANQ
Bradley Morrison
Comment 6 2008-04-09 11:31:50 PDT
Bulk update of s60 bugs - tagging and closing.
Bradley Morrison
Comment 7 2008-04-09 11:39:31 PDT
Bulk closing of all s60 platform bugs. Sorry for the noise!
Joel Parks
Comment 8 2011-03-21 11:52:07 PDT
re-purposing InTSW keyword for use by QtWebkit team
Note You need to log in before you can comment on or make changes to this bug.