Closed Bug 83097 Opened 25 years ago Closed 25 years ago

textarea wrap shows extra space at start of certain lines

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 19265

People

(Reporter: gward, Assigned: rods)

Details

Attachments

(1 file)

I have a form with the following <textarea> element: <textarea name="comment" cols=60 rows=15 wrap="physical"></textarea> As I type text into the <textarea>, it wraps correctly. However, if a particular line is the maximum lenth -- 59 characters, apparently -- then the following line is mysteriously indented by one space. It looks as though the space that I typed that causes line-wrapping to happen is being shown to me. Here's what it looks like in that cols=60 textarea: This is a long piece of text entered into a textarea without ever hitting enter. I'm just curious to see how Mozilla wraps text (in the UI, not in the submitted text). It looks like when line i has exactly 59 characters (this is a COLS=60 textarea), line i+1 starts with a spurious space. Note that lines 1 and 3 are exactly 59 characters long (not including the line-breaking space).
I thought waterson had a bug like this. cc him and kin in case one of them remembers the number and can mark this as a duplicate. Greg Ward--what build are you using?
This is with Mozilla 20010524 on Linux (Progeny Debian 1.0, kernel 2.2.19, libgtk 1.2.10). I've been seeing this bug for a while -- I think since Mozilla 0.8, which is when I started using Mozilla seriously.
duplicate of "[TEXT] Word-wrap improperly breaks before space following last word [INLINE]" *** This bug has been marked as a duplicate of 19265 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
verifying
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: