Closed Bug 44127 Opened 25 years ago Closed 25 years ago

select() on textfields is broken

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

VERIFIED FIXED

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.
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.
Adding [NEED INFO]. Chris, please let us know if this is blocking any automation.
Whiteboard: [NEED INFO]
Putting on [nsbeta2-] radar. Not critical to beta2. Adding nsbeta3 keyword.
Keywords: nsbeta3
Whiteboard: [NEED INFO] → [nsbeta2-]
setting to m18
Target Milestone: --- → M18
please retest thjis. nsSelection::SelectAll has been working for a while. retest it.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updating QA contact.
QA Contact: ckritzer → bsharma
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.