Bug 72804 - [test case] onClick event on td element does not respond when click is not on contained component
Summary: [test case] onClick event on td element does not respond when click is not on...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-17 11:46 UTC by Julian Rockey
Modified: 2005-02-16 18:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test case referenced in the description (407 bytes, text/html)
2004-01-17 11:47 UTC, Julian Rockey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Rockey 2004-01-17 11:46:52 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) 
OS:          Linux

The onClick event on a td element does not respond if the click is not on a component contained by the <td>. This can occur if the td is given width= and height= attributes. See attached HTML for example. Clicking on the words "Click here!" displays the alert box. But click above or below them (but within the td cell) does not.

I don't know what the standard says about this, but it does conflict with Gecko's behaviour.

An example of a site that relies on this is http://www.powergen.co.uk, which uses td's with background images and onClick's as the front page. Despite, interestingly, explicitly mentioning Konqueror as working (see http://www.powergen.co.uk/version.asp, the page you get if you visit with Epiphany)!
Comment 1 Julian Rockey 2004-01-17 11:47:36 UTC
Created attachment 4203 [details]
Test case referenced in the description
Comment 2 Julian Rockey 2004-01-17 12:20:11 UTC
This is quite possibly related to bug #70326 - though a more significant test-case, I believe, as it can break navigation rather than just look
 
Comment 3 Maksim Orlovich 2005-01-25 23:36:54 UTC
See also: bug #75267, bug #85440. Most likely the same bug.
Comment 4 Leo Savernik 2005-02-16 18:37:31 UTC
Fixed for KDE 3.4 by [1]

[1] http://webcvs.kde.org/kdelibs/khtml/rendering/render_table.cpp?r1=1.272&r2=1.273