Closed Bug 47230 Opened 25 years ago Closed 25 years ago

The onblur has no effect

Categories

(Core :: Layout, defect, P1)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 28657
Future

People

(Reporter: bsharma, Assigned: rods)

Details

(Keywords: html4, relnote, testcase)

Attachments

(1 file)

Build: 2000-07-28-12-M17 Following is the testcase. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <!-- testcase: label_onblur.html --> <!-- Expected result: Releasing the mouse up on the Last Name label should activate the onblur attribute to display a dialog. --> <TITLE>HTML Functional -- LABEL - ONBLUR</TITLE> </head> <body> <p>Each of these fields are contained in a label element. The "Last Name" element is using a onblur attribute. Clicking and releasing the mouse up on the last name label will display a dialog.</p> <form action="" method="post"> <label>First Name<input type="text" name="firstname"> </label> <label onblur="alert('This label has been activated by the user')">Last Name<input type="text" name="lastname"> </label> </form> </body> </html>
Re-assigning bugs on Clayton's list opened between 7/29 and 8/4 to Kevin for further triage.
Assignee: clayton → kmcclusk
Doesn't work with 4.x. Rod: Do you know if label's have onblur handlers?
Assignee: kmcclusk → rods
Yes, the spec shows that it should. I imagine the issue is that the focus goes to the text field inside the label and the text field will probably generate an onblur. That begs the question if a label has an onblur and the containing text field has an onblur, would you get two onblur notifications, coming from each of the elements? I would think yes. I think the fix would be for each control that is issuing an onblur that it needs to check to see if it is in a label and then have the label issue an onblur. This would be a little bit of work. I am futuring this bug for now.
Severity: normal → major
Status: NEW → ASSIGNED
Keywords: html4, relnote
Priority: P3 → P1
Target Milestone: --- → M22
Target Milestone: M22 → Future
Attached file testcase
Just converted the testcase from the initial bug report to an attachment
Keywords: testcase
massive update for QA contact.
QA Contact: petersen → lorca
Blocks: html4.01
No longer blocks: html4.01
This seems like a duplicate of 28657. If you don't think so, let me know. -d *** This bug has been marked as a duplicate of 28657 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
vrfy dup
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: