[Webkit-unassigned] [Bug 51918] New: contentEditable cannot handle multiple whitespace which is set as a composition text.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 4 23:27:30 PST 2011


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

           Summary: contentEditable cannot handle multiple whitespace
                    which is set as a composition text.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: javascript:"<div contentEditable>[]</div>"
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: morrita at google.com
                CC: rniwa at webkit.org, bashi at google.com


How to reproduce:
1. Open attached repro URL (it is a plain contentEditable div)
2. Place caret between "[" and "]"
3. Enable IME
4. input "AB" (by typing Shift-A, Shift-B)
5. move caret between A and B (by typing left-arrow)
6. input whitespace multiple times (by typing whitespace)

What is expected:
The string "A", followed by multiple whitespace, followed by "B" should be appeared as 
a composition text.

What happens instead:
The string "A", followed by single whitespace, followed by "B" is appeared.

Other browsers:
- Firefox accepts multiple whitespace characters
- On Windows, composition text is typically rendered by IME itself, (thus multiple whitespace is accepted)

Note: 
You can use Google Japanese Input (http://www.google.com/intl/ja/ime/index-mac.html) to 
reproduce this problem. You can input multiple whitespace between compositing text.
Kotoeri doesn't allow users to input such type of sequence.

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