Closed Bug 62086 Opened 24 years ago Closed 24 years ago

textarea scrollbars and cursor position not updated after text cut

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: kirill, Assigned: joki)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) BuildID: 2000120520 The vertical scrollbar and cursor position are not updated when all text has been deleted from HTML textarea control. Reproducible: Always Steps to Reproduce: 1.Create a paragraph containg more than 1 wrap line. 2.Fill the textarea to get the vertical scrollbar. 3.Select all text and cut it using Ctrl-X, Delete or Bksp. Actual Results: The cursor position is set to the last text position before text cut. The vertical scrollbar stays up. Expected Results: Cursor should be placed in the upper left corner of the textarea, scrollbars removed. The paragraph with no or only one wrapped line do not produce the same problem. I've also noticed text corruption (looking like buffer overrun) on several occasions but could not reproduce it. Possibly bug in the editor's cut-n-paste. Linux build id# 2000120521 is not affected. (At least i could not reproduce the problem)
Worksforme Platform: PC OS: Windows 98 Mozilla Build: 2000121804 M18 Trunk Build Marking as such. Reopen if you still see this problem in the latest nightlies.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
VERIFIED on Mac 2001-01-04-08 Trunk, and NT 2001-01-04-17 Branch.
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.