Closed
Bug 21032
Opened 25 years ago
Closed 24 years ago
[regression] can paste multiple lines of text into a single-line text control
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
RESOLVED
INVALID
M13
People
(Reporter: buster, Assigned: buster)
References
()
Details
until recently, you could only paste a single line of text into an <input
type=text>. sometime in the recent past, this broke, and you can paste multiple
lines of text.
Updated•25 years ago
|
Target Milestone: M13
Comment 1•25 years ago
|
||
verified this on the 19991207 build on win32
the problem was that the InsertText code no longer uses InsertBreak to insert
<BR>s. Instead, we just put the newlines into the content model directly.
That's fine, but we were relying on InsertBreak() to check against mFlags to see
if we were a single line text control or not, and if so it would skip the
insertion of the <BR>. Now, InsertText() needs to remove newlines itself.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Whiteboard: fix in hand
Comment 5•24 years ago
|
||
I think this bug has regressed again and needs reopening...
Updated•24 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•24 years ago
|
||
i have memories of someone removing the crlf conversion. It was either me or
someone I reviewed. 1.5 weeks of Florida vacation have erased further details
from my mind. I'll look into it. reopening bug...
Comment 7•24 years ago
|
||
ok, I talked to akkana about this. This effect is intentional. See bugs 23485
and 50935. closing bug invalid.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•