LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Jul 2007 19:26:56 +0000 (19:26 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Jul 2007 19:26:56 +0000 (19:26 +0000)
commit8d1a5f0f8498c1ecbe1f49fbde74a53a7797d0f5
treec470ca64d062263c4d5d2c5ec24363cd8ae3a3ef
parent077fd66c9ed48ab0efaabb88be1069d6fe02e8fa
LayoutTests:

        Reviewed by Harrison.

        <rdar://problem/5300379> Mail hung on option-delete

        * editing/deleting/5300379-expected.checksum: Added.
        * editing/deleting/5300379-expected.png: Added.
        * editing/deleting/5300379-expected.txt: Added.
        * editing/deleting/5300379.html: Added.

WebCore:

        Reviewed by Harrison.

        <rdar://problem/5300379> Mail hung on option-delete

        We were starting backward iteration at [container, 0] and
        emitting for container over and over.

        * editing/TextIterator.cpp:
        (WebCore::SimplifiedBackwardsTextIterator::advance): Don't
        emit characters for a node if we're starting iteration at
        [container, 0].  Don't emit characters for exiting containers
        if we've already done so.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/deleting/5300379-expected.checksum [new file with mode: 0644]
LayoutTests/editing/deleting/5300379-expected.png [new file with mode: 0644]
LayoutTests/editing/deleting/5300379-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/5300379.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/TextIterator.cpp