summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/onclick_in_noncontent.html
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch)
treed49911209b132da58d838efa852daf28d516df21 /WebCore/manual-tests/onclick_in_noncontent.html
parent87eb0cb35bad8784770ebc807e6c982432e47107 (diff)
downloadexternal_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2
Initial Contribution
Diffstat (limited to 'WebCore/manual-tests/onclick_in_noncontent.html')
-rw-r--r--WebCore/manual-tests/onclick_in_noncontent.html19
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