LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Dec 2006 02:46:54 +0000 (02:46 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Dec 2006 02:46:54 +0000 (02:46 +0000)
commit9ba378eb08896b605f58570adcbd045487f51d1d
treebd4316c22662f1629b44970c9015f6cb14f28a30
parentf2acd80efba2fba67b5c9c71b4434bad29583ee5
LayoutTests:

        Reviewed by darin

        <rdar://problem/4818134>
        Crash in WebCore::selectRange when invoking WebView:insertNewLine in any empty content editable DIV.

        * editing/selection/select-line-expected.txt: Added.
        * editing/selection/select-line.html: Added.

WebCore:

        Reviewed by darin

        <rdar://problem/4818134>
        Crash in WebCore::selectRange when invoking WebView:insertNewLine in any empty content editable DIV.

        * WebCore.vcproj/WebCore/WebCore.vcproj: Removed RebalanceWhitespaceCommand.*.
        * editing/visible_units.cpp:
        (WebCore::startOfLine): There are VisiblePositions at offset 0 in blocks without
        RootInlineBoxes, like empty editable blocks and bordered blocks.
        (WebCore::endOfLine): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/selection/select-line-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/select-line.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore/WebCore.vcproj
WebCore/editing/visible_units.cpp