Reviewed by Kevin.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 May 2005 21:02:57 +0000 (21:02 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 May 2005 21:02:57 +0000 (21:02 +0000)
commit59cb6fa3342449f89805b04faed397ab62862239
tree9e2c52b3d8a08e6a6cb9290051447203a2391431
parent9fe43b8c33af8b07752aa84dffb5037f5c895e9c
    Reviewed by Kevin.

- remove some of the uses of upstream/downstream DoNotStayInBlock

        * khtml/editing/markup.cpp:
(khtml::createMarkup): Instead of using upstream to decide if a line break should be
added at the end, use inSameParagraph.
        * khtml/editing/selection.cpp:
        (khtml::Selection::debugPosition): Remove the code to print upstream and downstream,
the selection endpoints themselves are adequate for debugging and are what we use for
layout tests.
        * khtml/xml/dom2_rangeimpl.cpp:
        (DOM::RangeImpl::editingStartPosition): Skip a possible paragraph break at the start
of the selection in a more explicit way to avoid DoNotStayInBlock.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/SelectionController.cpp
WebCore/khtml/editing/markup.cpp
WebCore/khtml/editing/selection.cpp
WebCore/khtml/xml/dom2_rangeimpl.cpp