Safari: pasting in single-line fields

Posted by Pierre Igot in: Macintosh
April 15th, 2003 • 9:10 pm

All too often, when I SELECT a line of text somewhere, copy it, got to a form field in a web page in Safari, and paste the line of text, I get what seems to be nothing. Safari appears to have pasted a single space character instead of my line of text.

In fact, it has pasted the line of text, but it has also included in that line of text the trailing return character that I accidentally selected at the same time I selected the line of text. I can easily erase this trailing return character after pasting the line of text by simply hitting the DELETE key once, and then my line of text magically appears. (It was hiding “above” the empty line created by the return character.)

The fact remains that this behaviour is counter-intuitive and that the user should not be expected to be careful not to SELECT what is effectively an invisible character (the return character). Instead, Safari should be smart enough to know that, when I am pasting text INTO a single-line form field in a web page, the return character at the end of the text, if there is one, should obviously not be included.

More general, Safari should simply refuse the inclusion of any return characters in single-line form fields.

In multiple-line text areas, OTOH, it should of course include the return character if there is one.

[This item was submitted to Apple through the Bug Reporter page.]


Comments are closed.

Leave a Reply

Comments are closed.