[Webkit-unassigned] [Bug 94833] New: Setting the value of textarea on an input event prevents new line to be inserted subsequently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 23 12:27:00 PDT 2012


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

           Summary: Setting the value of textarea on an input event
                    prevents new line to be inserted subsequently
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: InChromiumBugs, NeedsRadar
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: adele at apple.com, tkent at chromium.org, enrica at apple.com


http://code.google.com/p/chromium/issues/detail?id=76516

1. Open the following HTML file.
2. Open Console.
3. Press ENTER, notice the console log shows the newline. Press ENTER again, notice the textarea's value no longer receives the newline. 

<html>
<body>
  <textarea oninput="console.log('[' + this.value + ']'); this.value = '';"></textarea>
</body>
</html>

What is the expected result?
[
]
[
]

What happens instead?
[
]
[]

-- 
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