Changeset 30213 in webkit


Ignore:
Timestamp:
Feb 13, 2008 2:00:09 PM (16 years ago)
Author:
justin.garcia@apple.com
Message:

WebCore:

Reviewed by Adam Roben.

<rdar://problem/5729680> REGRESSION (r27873): Removing the last character of a word in Mail or Safari also removes the following space


  • editing/Editor.cpp: (WebCore::Editor::deleteWithDirection): Fixed a typo.

LayoutTests:

Reviewed by Adam Roben.


<rdar://problem/5729680> REGRESSION (r27873): Removing the last character of a word in Mail or Safari also removes the following space

  • editing/deleting/5729680-expected.txt: Added.
  • editing/deleting/5729680.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r30212 r30213  
     12008-02-13  Justin Garcia  <justin.garcia@apple.com>
     2
     3        Reviewed by Adam Roben.
     4       
     5        <rdar://problem/5729680> REGRESSION (r27873): Removing the last character of a word in Mail or Safari also removes the following space
     6
     7        * editing/deleting/5729680-expected.txt: Added.
     8        * editing/deleting/5729680.html: Added.
     9
    1102008-02-13  Nikolas Zimmermann  <zimmermann@kde.org>
    211
  • trunk/WebCore/ChangeLog

    r30211 r30213  
     12008-02-13  Justin Garcia  <justin.garcia@apple.com>
     2
     3        Reviewed by Adam Roben.
     4
     5        <rdar://problem/5729680> REGRESSION (r27873): Removing the last character of a word in Mail or Safari also removes the following space
     6       
     7        * editing/Editor.cpp:
     8        (WebCore::Editor::deleteWithDirection): Fixed a typo.
     9
    1102008-02-13  Nikolas Zimmermann  <zimmermann@kde.org>
    211
  • trunk/WebCore/editing/Editor.cpp

    r30062 r30213  
    227227        if (isTypingAction) {
    228228            if (m_frame->document()) {
    229                 TypingCommand::deleteKeyPressed(m_frame->document(), true, granularity);
     229                TypingCommand::deleteKeyPressed(m_frame->document(), canSmartCopyOrDelete(), granularity);
    230230                revealSelectionAfterEditingOperation();
    231231            }
Note: See TracChangeset for help on using the changeset viewer.