Closed
Bug 44127
Opened 25 years ago
Closed 25 years ago
select() on textfields is broken
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: sfraser_bugs, Assigned: mjudge)
Details
(Whiteboard: [nsbeta2-])
The select() methods on HTML text inputs does not work, because
nsSelection::SelectAll() is not implemented.
Comment 1•25 years ago
|
||
adding nsbeta2 keyword, this is probably the cause of a bug I see where dialogs
assume they can selectall of the text and insert to replace the existing text. I
see this when I go "back" in the browser as well as various dialogs across the
product.
Keywords: nsbeta2
OS: Mac System 8.5 → All
The browser "back" problem brade mentions is actually bug #42178 and is caused
by something different.
Comment 3•25 years ago
|
||
Adding [NEED INFO]. Chris, please let us know if this is blocking any
automation.
Whiteboard: [NEED INFO]
Comment 4•25 years ago
|
||
Putting on [nsbeta2-] radar. Not critical to beta2. Adding nsbeta3 keyword.
Keywords: nsbeta3
Whiteboard: [NEED INFO] → [nsbeta2-]
please retest thjis. nsSelection::SelectAll has been working for a while. retest
it.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Build: 2000092711 MN6
Platform: WinNT
Verified with the following testcase:
====================================
<html>
<head>
<title> select () method test </title>
<script>
var userPass = ""
var userName = ""
var formulate = new window ()
// set up the variables to be used later
document.formulate.userPass.select ()
</script>
</head>
<body>
<form name = "formulate">
<input type="password" name="userPass" SIZE=5> tell us your secret
<input type="text" name="userName" value="Name" size=15>
<input type="checkbox" name="userAuth" value = "Validate Me">
authorize us to check this stuff out!
</form>
</body>
</html>
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•