LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2007 04:38:54 +0000 (04:38 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2007 04:38:54 +0000 (04:38 +0000)
commitcd89bb627045a4803ebb39af5d3b2ec492fa1df7
treedb418c2598ac22dbfc9d0947d77e07fe57a841de
parent24e2703c63b247dbf936ae33c56117fe716e770a
LayoutTests:

        Reviewed by Adele.

        - pixel test and updated results for http://bugs.webkit.org/show_bug.cgi?id=13153
          REGRESSION: Visual highlighting of pre-populated blank line in textarea is broken

        * editing/selection/doubleclick-crash-expected.checksum:
        * editing/selection/doubleclick-crash-expected.png:
        * fast/text/selection-hard-linebreak-expected.checksum: Added.
        * fast/text/selection-hard-linebreak-expected.png: Added.
        * fast/text/selection-hard-linebreak-expected.txt: Added.
        * fast/text/selection-hard-linebreak.html: Added.

WebCore:

        Reviewed by Adele.

        - fix http://bugs.webkit.org/show_bug.cgi?id=13153
          REGRESSION: Visual highlighting of pre-populated blank line in textarea is broken

        - fix a bug where selecting across a soft line break did not highlight to
          the end of the first line if it contained skipped whitespace

        Test: fast/text/selection-hard-linebreak.html

        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::selectionState): Changed to treat a selection that ends on the
        end of a hard line break as if it ends after the line break. Fixed the case of a selection
        that starts and ends in the same text object as the box but does not intersect it
        to return SelectionNone instead of selectionBoth.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/selection/doubleclick-crash-expected.checksum
LayoutTests/editing/selection/doubleclick-crash-expected.png
LayoutTests/fast/text/selection-hard-linebreak-expected.checksum [new file with mode: 0644]
LayoutTests/fast/text/selection-hard-linebreak-expected.png [new file with mode: 0644]
LayoutTests/fast/text/selection-hard-linebreak-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/selection-hard-linebreak.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/InlineTextBox.cpp