[Webkit-unassigned] [Bug 61483] New: Textarea will not accept space character at end of line.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 25 16:49:02 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61483

           Summary: Textarea will not accept space character at end of
                    line.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: peterbraden at peterbraden.co.uk


Overview:

Typing space at the end of a line with certain character combinations will not insert a space and wrap. Additionally, after typing other characters which cause the line to wrap, the space character will be omitted. Additionally, after problematically inserting a space, then retyping space, the extra space will disappear.

Steps to Reproduce:

This is a really interesting bug because it happens with a bunch of different words in the line, but is inconsistent. I have managed to find a consistent repro case though.

1) With a html page as follows:

<html>
  <head />
  <body>
    <textarea style="height: 34px; width: 535px;"></textarea>
  </body>
</html>    

2) Edit the textarea to contain as many 'a' characters as takes to fill the line (another a would make it wrap)
3) Delete the last 'a' and add an 'l' character. The line should not wrap.
4) Try and add a space character - notice the line does not wrap.
5) You can try and add as many space characters as you like - they are not added to the val, and the textarea won't wrap.
6) Add another non space character. The line will wrap, however arrowing back will confirm the space character was not added.
7) Notice that adding space characters problematically, then repeating steps, truncates trailing spaces to a single space.

Expected Results:

- Space characters will make the line wrap
- Space characters should be able to be added at the end of lines.


Build Date & Platform:

Repro'd on Chrome, Safari, and the nightly WebKit r87281 built on 25 May 2011.
Only tested on OSX thus far.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list