Closed Bug 41495 Opened 24 years ago Closed 24 years ago

ONDBLCLICK: double-click on link does not show JS Alert box

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 29473

People

(Reporter: e_lynskey, Assigned: clayton)

References

()

Details

Attachments

(1 file)

On the test for the ONDBLCLICK attribute of the A element tag, double-clicking 
on the link does not bring up a Javascript alert box with the message
displayed "Double-clicked!".  Instead, the link is made to the Netscape
home page.

Build ID:  2000060315
Keywords: makingtest
Summary: ONDBLCLICK: double-click on link does not show JS Alert box → ONDBLCLICK: double-click on link does not show JS Alert box
Whiteboard: e_lynskey@yahoo.com
I think that the test case source is incorrect for running this test.  I was 
able to fix the code and run the test case using Netscape 4.72.  However, 
Mozilla browser did not run the same way.  See below for corrected code:  

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>HTML Functional -- A - ONDBLCLICK</title>

<!-- Comments...

<script language="Javascript">
</script>

</head>

<body>

<p>This tests the ONDBLCLICK attribute of the A element tag. Double-click on the 
link and a Javascript alert dialog box will display with the following message: 
'Double-clicked!'.</p>

<a href="a_ondblclick.html" ondblClick="window.alert 
('Double-clicked!')">Double-click on this link.</a> 

</body>
</html>


Keywords: makingtest
Whiteboard: e_lynskey@yahoo.com
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Component: HTML Element → Event Handling
Resolution: --- → DUPLICATE
Changing component to Event Handling and marking duplicate of bug 33195.

*** This bug has been marked as a duplicate of 33195 ***
actually, dup of 29473
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---

*** This bug has been marked as a duplicate of 29473 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
vrfy
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: