Closed
Bug 7134
Opened 26 years ago
Closed 25 years ago
JS: blur() does not work.
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
M14
People
(Reporter: desale, Assigned: pollmann)
Details
(Keywords: testcase, Whiteboard: [TESTCASE] blur() does not seem to be implemented yet)
Attachments
(1 file)
(deleted),
text/html
|
Details |
JavaScript method blur() does not work if we try to blur some element using this
method.
Product: seamonkey [Apprunner/ Viewer]
Build: 05-25-09.
Steps to reproduce bug:
1] Please copy the code I'm providing. Save as HTML file and open this file in
viewer as well as apprunner.
2] You'll see two text boxes. One "Testing Box1" and second "Testing Box2".
3] "Testing Box1" is getting focus using method focus() and immediately supposed
to loose focus using method blur().
Expected Results:
None of text boxes should have focus. We should not see any blinking curson in
any of text boxes. Specifically "Testing Box1" should not show any cursor since
we are taking away focus from this box using method blur().
Actual Results:
"Testing Box1" shows blinking cursor.
Conclusion: This means blur() method used in code is unable to blur "Testing
Box1".
CODE:
<html>
<head>
<title>Test Page</title>
</head>
<body >
<form name="workform">
Testing Text Box1:<INPUT TYPE=text name="testing1" size=15 >
Testing Text Box2:<INPUT TYPE=text name="result" size=15>
<SCRIPT LANGUAGE="JavaScript1.1">
document.workform.testing1.focus();
document.workform.testing1.blur();
</SCRIPT>
</form>
</body>
</html>
END OF CODE.
Updated•26 years ago
|
Assignee: vidur → pollmann
Comment 1•26 years ago
|
||
This one's for you, Eric. I'm guessing that the Blur() method for some of the
form elements just isn't hooked up.
Comment 2•25 years ago
|
||
Updated•25 years ago
|
Summary: JavaScript method blur() does not work. → JS: blur() does not work.
Whiteboard: [TESTCASE] blur() does not seem to be implemented yet
Comment 3•25 years ago
|
||
here we go...
Overview Description: blur() does not seem to be implemented yet. Specifically,
if you set the onfocus parameter of a form text edit to "this.blur()", you can
enter text nevertheless.
Steps to reproduce: 1) load the attachment, 2) click into the text edit and type
something
Actual Results: you can type text into that text edit
Expected Results: due to "this.blur()", the cursor should leave the text edit
immediately, making it impossible to type text into it.
Build Date & Platform: occurs on M7 and current daily build (Win32)
does not occur on NN3+, IE4+
Assignee | ||
Updated•25 years ago
|
Target Milestone: M13 → M14
Assignee | ||
Comment 4•25 years ago
|
||
Triaged to M14
Comment 5•25 years ago
|
||
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Assignee | ||
Comment 7•25 years ago
|
||
This is a subset of bug 13652, marking it a duplicate. I'll note on bug 13652
to look at the testcase here before closing that one out.
*** This bug has been marked as a duplicate of 13652 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 8•25 years ago
|
||
Verified duplicate of 13653 -DOM focus, blur, click and select methods don't
work with GFX- Note has been added to 13653 to verify it with this testcase.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•