Closed Bug 77886 Opened 25 years ago Closed 25 years ago

textboxes containing only spaces act strangely

Categories

(Core :: DOM: Editor, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME
mozilla0.9.2

People

(Reporter: jruderman, Assigned: kinmoz)

Details

If a textbox contains only spaces and isn't empty, * typing any character adds the character at the caret doesn't move the caret to be after the added character. * pressing the right arrow key moves the caret down a few pixels. (The spaces seem to live several pixels down from where text would normally be.) * in the textbox is in the Find on This Page dialog, the dialog thinks the textbox is empty. * if the textbox is in a form, the spaces are submitted, but they're submitted as spaces rather than plusses. To get into this state, simply type a space into an empty textbox, or select the contents of a textbox and press space. To get out of this state, type a letter key. This applies to XUL textboxes as well as HTML form textboxes.
Priority: -- → P3
some of these bugs will probably be hidden by my ws work. I have no idea what the expectation of "plusses" is about.
When I submit a Google search or another GET form, each space is supposed to be escaped to "+". When there aren't any characters besides spaces in the form that doesn't happen.
I just tested textfields, passwords, file input, and textareas, in my Win32 debug build from today, and they are all submitted properly with ' ' to '+' conversion. I verified this on the server I submitted to as well as the URL that was displayed as the result of the GET form submission. What version/buildID of mozilla are you using? How are you seeing that the spaces are submitted as spaces instead of plusses?
Assignee: beppe → kin
Target Milestone: --- → mozilla0.9.1
Target Milestone: mozilla0.9.1 → mozilla0.9.2
In 042604 Win98, if I go to http://www.cs.hmc.edu/~jruderma/s/, type some spaces into the Google field, and press enter, the spaces aren't converted to +s. In 042908 Win98, I don't see any of the problems I listed in the original bug report. Marking as worksforme.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
verified in 5/3 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.