LayoutTests:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Mar 2007 06:28:19 +0000 (06:28 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Mar 2007 06:28:19 +0000 (06:28 +0000)
commitb6325b7aed61b28fcf0ed918d6c73c2cdba8a944
treec885feb1d98ed82ad5511816824e0152ed892a6e
parenta9f3880f7a2350d3377a7e57f5b3928203cc6dcc
LayoutTests:

        Reviewed by Darin.

        - test for http://bugs.webkit.org/show_bug.cgi?id=13156
          REGRESSION (r19621): Pasting breakable content where wrapped line is too long to fit in a textarea fails to draw a horizontal scrollbar

        * fast/text/midword-break-after-breakable-char-expected.checksum: Added.
        * fast/text/midword-break-after-breakable-char-expected.png: Added.
        * fast/text/midword-break-after-breakable-char-expected.txt: Added.
        * fast/text/midword-break-after-breakable-char.html: Added.

WebCore:

        Reviewed by Darin.

        - fix http://bugs.webkit.org/show_bug.cgi?id=13156
          REGRESSION (r19621): Pasting breakable content where wrapped line is too long to fit in a textarea fails to draw a horizontal scrollbar

        Test: fast/text/midword-break-after-breakable-char.html

        Breaking in the middle of the word
        is allowed only if no breaking opportunity between words has occurred yet. The
        first position on the line should not be considered "between words" even if
        it is a breaking opportunity.

        * rendering/bidi.cpp:
        (WebCore::RenderBlock::findNextLineBreak): Changed according to the above. Also
        cleaned up a couple of lines.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/midword-break-after-breakable-char-expected.checksum [new file with mode: 0644]
LayoutTests/fast/text/midword-break-after-breakable-char-expected.png [new file with mode: 0644]
LayoutTests/fast/text/midword-break-after-breakable-char-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/midword-break-after-breakable-char.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/bidi.cpp