WebCore:
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Feb 2009 19:41:10 +0000 (19:41 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Feb 2009 19:41:10 +0000 (19:41 +0000)
commit4ee2fad69f4ca161a37bec5036bbd624893fdd59
tree39ca696144d5eab4fb0b87cb907f7fda9793e688
parentec6c5b8fe57d5b304e1bacc548d371c3aabe6f8e
WebCore:

2009-02-04  Jeremy Moskovich  <jeremy@chromium.org>

        Reviewed by Dave Hyatt.

        https://bugs.webkit.org/show_bug.cgi?id=23471
        Fix text-overflow:ellipsis; for RTL case.

        Test: fast/css/text-overflow-ellipses.html

        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::placeEllipsisBox): Add support for rtl placement.
        (WebCore::InlineTextBox::paintDecoration): Correctly draw decorations
        for rtl truncation.

LayoutTests:

2009-02-04  Jeremy Moskovich  <jeremy@chromium.org>

        Reviewed by Dave Hyatt.

        https://bugs.webkit.org/show_bug.cgi?id=23471
        Fix text-overflow:ellipsis; for RTL case.

        Rebaseline LayoutTests/editing/spelling/inline_spelling_markers.html to reflect correct behavior.

        * fast/css/text-overflow-ellipses.html: Added.
        * platform/mac/editing/spelling/inline_spelling_markers-expected.checksum:
        * platform/mac/editing/spelling/inline_spelling_markers-expected.png:
        * platform/mac/fast/css/text-overflow-ellipses-expected.checksum: Added.
        * platform/mac/fast/css/text-overflow-ellipses-expected.png: Added.
        * platform/mac/fast/css/text-overflow-ellipses-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/text-overflow-ellipsis.html [new file with mode: 0644]
LayoutTests/platform/mac/editing/spelling/inline_spelling_markers-expected.checksum
LayoutTests/platform/mac/editing/spelling/inline_spelling_markers-expected.png
LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/css/text-overflow-ellipsis-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/InlineTextBox.cpp