diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:52 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:52 -0800 |
commit | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch) | |
tree | 11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/onclick_in_noncontent.html | |
parent | 648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff) | |
download | external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/onclick_in_noncontent.html')
-rw-r--r-- | WebCore/manual-tests/onclick_in_noncontent.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/WebCore/manual-tests/onclick_in_noncontent.html b/WebCore/manual-tests/onclick_in_noncontent.html new file mode 100644 index 0000000..9c14674 --- /dev/null +++ b/WebCore/manual-tests/onclick_in_noncontent.html @@ -0,0 +1,19 @@ +<html> +<head> +<script> +function displayAlert(element) +{ + alert('You clicked '+element.nodeName); +} +</script> +</head> +<body> + <table style="width:100px;height:100px;border:inset"> + <tr> + <td onclick="displayAlert(this)">Content.</td> + </tr> + </table> + <p>Click anywhere inside the table element and you should get an alert telling you so.</p> + <p>Bugzilla 3662 was that clicking in non-content did not fire onclick handler.</p> +</body> +</html>
\ No newline at end of file |