2011-02-02 Levi Weintraub <leviw@chromium.org>
authorleviw@chromium.org <leviw@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Feb 2011 19:31:16 +0000 (19:31 +0000)
committerleviw@chromium.org <leviw@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Feb 2011 19:31:16 +0000 (19:31 +0000)
commit1d8b9c143444b6d0b719910b1b72e0992cb43232
treeff7c4ca763b45e241e16e30cd198659957624112
parent106caa7a77ca196e8ce885fd52de39b8e13ac1a5
2011-02-02  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Ryosuke Niwa.

        Moving cursor down in table cycles at the end of a row
        https://bugs.webkit.org/show_bug.cgi?id=50012

        Tests downward caret-navigation for tables at the end of a document.

        * editing/selection/move-by-line-cycles-in-table-expected.txt: Added.
        * editing/selection/move-by-line-cycles-in-table.html: Added.
2011-02-02  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Ryosuke Niwa.

        Moving cursor down in table cycles at the end of a row
        https://bugs.webkit.org/show_bug.cgi?id=50012

        Avoids a caret cycling issue with certain content (e.g. tables) found at the very
        end of a document due to a bug in nextLeafWithSameEditability.

        Test: editing/selection/move-by-line-cycles-in-table.html

        * editing/visible_units.cpp:
        (WebCore::nextLeafWithSameEditability): Properly avoid descending back into the
        original leaf node.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@77521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/selection/move-by-line-cycles-in-table-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/move-by-line-cycles-in-table.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/editing/visible_units.cpp