Changeset 70310 in webkit


Ignore:
Timestamp:
Oct 22, 2010 9:11:40 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-22 Jia Pu <jpu@apple.com>

Reviewed by Dan Bernstein.

Regression (r69548): cancelled autocorrection suggestion is still applied.
https://bugs.webkit.org/show_bug.cgi?id=48081
<rdar://problem/8579765>

The test requires a 0.3 second delay using setTimeout(). So we put it in manual-tests.

  • editing/Editor.cpp: (WebCore::Editor::handleRejectedCorrection): Clear autocorrection info when user dismissed the panel.
  • manual-tests/autocorrection/autocorrection-cancelled-by-ESC.html: Added.
Location:
trunk/WebCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r70307 r70310  
     12010-10-22  Jia Pu  <jpu@apple.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        Regression (r69548): cancelled autocorrection suggestion is still applied.
     6        https://bugs.webkit.org/show_bug.cgi?id=48081
     7        <rdar://problem/8579765>
     8       
     9        The test requires a 0.3 second delay using setTimeout(). So we put it in manual-tests.
     10
     11        * editing/Editor.cpp:
     12        (WebCore::Editor::handleRejectedCorrection): Clear autocorrection info when user dismissed the panel.
     13        * manual-tests/autocorrection/autocorrection-cancelled-by-ESC.html: Added.
     14
    1152010-10-22  Andreas Kling  <kling@webkit.org>
    216
  • trunk/WebCore/editing/Editor.cpp

    r70113 r70310  
    28652865
    28662866    replacedRange->startContainer()->document()->markers()->addMarker(replacedRange, DocumentMarker::RejectedCorrection, m_stringToBeReplacedByCorrection);
     2867    m_rangeToBeReplacedByCorrection.clear();
    28672868}
    28682869
Note: See TracChangeset for help on using the changeset viewer.