diff options
Diffstat (limited to 'ManualTests/onclick_in_noncontent.html')
-rw-r--r-- | ManualTests/onclick_in_noncontent.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ManualTests/onclick_in_noncontent.html b/ManualTests/onclick_in_noncontent.html new file mode 100644 index 000000000..9c1467450 --- /dev/null +++ b/ManualTests/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 |