Changeset 25694 in webkit


Ignore:
Timestamp:
Sep 21, 2007 4:51:47 PM (17 years ago)
Author:
oliver
Message:

Reviewed by Tristan.

http://bugs.webkit.org/show_bug.cgi?id=15239
<rdar://problem/5491955> REGRESSION (r25547): With Hanin IME, one cannot input characters into forms (15239)


This problem was caused by the setComposition method failing to clearing
the composition markers in the presence of an empty string. This would
result in the caret being locked within the 0 length bounds of the "composition"
and so preventing basic keyboard interaction.

  • editing/Editor.cpp: (WebCore::Editor::setComposition):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r25693 r25694  
     12007-09-21  Oliver Hunt  <oliver@apple.com>
     2
     3        Reviewed by Tristan.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=15239
     6        <rdar://problem/5491955> REGRESSION (r25547): With Hanin IME, one cannot input characters into forms (15239)
     7       
     8        This problem was caused by the setComposition method failing to clearing
     9        the composition markers in the presence of an empty string.  This would
     10        result in the caret being locked within the 0 length bounds of the "composition"
     11        and so preventing basic keyboard interaction.
     12
     13        * editing/Editor.cpp:
     14        (WebCore::Editor::setComposition):
     15
    1162007-09-21  Adele Peterson  <adele@apple.com>
    217
  • trunk/WebCore/editing/Editor.cpp

    r25693 r25694  
    17261726    deleteSelectionWithSmartDelete(false);
    17271727
     1728    m_compositionNode = 0;
     1729    m_customCompositionUnderlines.clear();
     1730
    17281731    if (!text.isEmpty()) {
    17291732        TypingCommand::insertText(m_frame->document(), text, true, true);
Note: See TracChangeset for help on using the changeset viewer.