Closed Bug 97196 Opened 24 years ago Closed 24 years ago

Textarea font not fixed-width, ctrl-d deletes past textarea!

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 96604

People

(Reporter: goodmanj, Assigned: rods)

Details

In mozilla build 2001082708, but NOT 2001080814, text in textarea boxes is shown using the proportional font (Times, on my case) rather than the fixed-width font (Courier, in my case). This is annoying if you're trying to input column-formatted text, and is inconsistent with NS4 and most other browsers. <p> But the REALLY bad bug is that if you go to the end of the text in the textarea box and hit ctrl-d (which deletes the char to the right of the cursor), you delete characters from the rest of the web page, OUTSIDE THE TEXTAREA! You can delete most or all of a webpage this way. Maybe I'm weird, but I found this behavior utterly hilarious. <p> Since both of these behaviors occurred after I upgraded from 2001080814 to 2001082708, and since both involve textareas, I suspect they're related. I suspect this is related to a bugfix somewhere, but I can't find it. <p> Attachment and test case report to follow.
Alright, I'm having trouble including an attachment, so here's a textual description: Reproducibility: always Steps to reproduce: 1. Click on textarea box below "Additional comments" in http://bugzilla.mozilla.org/show_bug.cgi?id=97196. 2. Type in "This is a test." 3. Press and hold ctrl-d. Results: Step 2: Text appears in proportional font in textarea. Step 3: Widgets and text beyond textarea ([X] Leave as UNCONFIRMED) are deleted. After deleting parts of the bug report form and then submitting it, Bugzilla.mozilla.org complained about a missing keyword of some sort (I forget what). Expected results: Textarea font should be fixed-width (courier) Deletion should not progress beyond textarea.
Proportional font in textarea boxes: bug 96414. Fix just checked in. Deleting characters from some form input controls will allow altering page content: bug 96604
Yeah it's a dup, my patch for 96604 covers both Delete and Backspace. *** This bug has been marked as a duplicate of 96604 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.