LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Feb 2006 05:55:54 +0000 (05:55 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Feb 2006 05:55:54 +0000 (05:55 +0000)
commit1e3047c55b0ffc8ad397825a557a84e9fb0eb565
treecc55e9d2785d20260cdae79eeea116c0080cbb67
parent464d5aee101000f506b4490d6aea7fe5ec216c67
LayoutTests:

        Reviewed by Darin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7433
          REGRESSION (r12789): Second RTL text run on a line cannot be selected

        * fast/text/in-rendered-text-rtl-expected.checksum: Added.
        * fast/text/in-rendered-text-rtl-expected.png: Added.
        * fast/text/in-rendered-text-rtl-expected.txt: Added.
        * fast/text/in-rendered-text-rtl.html: Added.

WebCore:

        Test: fast/text/in-rendered-text-rtl.html

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7433
          REGRESSION (r12789): Second RTL text run on a line cannot be selected

        * dom/dom_position.cpp:
        (WebCore::Position::inRenderedText): If the RenderText contains
        reversed text, the text boxes are not necessarily ordered by start
        position, so iterate through all of them.
        (WebCore::Position::isRenderedCharacter): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/in-rendered-text-rtl-expected.checksum [new file with mode: 0644]
LayoutTests/fast/text/in-rendered-text-rtl-expected.png [new file with mode: 0644]
LayoutTests/fast/text/in-rendered-text-rtl-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/in-rendered-text-rtl.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/dom_position.cpp