Reviewed by Dave Harrison.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 May 2005 19:04:29 +0000 (19:04 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 May 2005 19:04:29 +0000 (19:04 +0000)
commit8b2db3b8e9827ed0cf765d4de24a8a2fc03b1562
tree76b5f00d735cbd4541e9df21ad85f815e536f663
parent6566732f14f918cd74b01b8bb9b65a1855ba8212
    Reviewed by Dave Harrison.

- remove remaining uses of upstream/downstream DoNotStayInBlock

        * khtml/editing/htmlediting.cpp:
        (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
        (khtml::ApplyStyleCommand::nodeFullySelected):
        (khtml::ApplyStyleCommand::nodeFullyUnselected):
        (khtml::DeleteSelectionCommand::insertPlaceholderForAncestorBlockContent):
        (khtml::InsertParagraphSeparatorCommand::doApply):
        (khtml::InsertParagraphSeparatorInQuotedContentCommand::doApply):
        (khtml::InsertTextCommand::insertSpace):
        (khtml::ReplaceSelectionCommand::doApply):

        * khtml/editing/visible_position.cpp:
        (khtml::enclosingBlockFlowElement): New helper function.
* khtml/editing/visible_position.h:

        * khtml/editing/visible_units.cpp:
        (khtml::inSameBlock): Check enclosing block flows instead of comparing
visible block starts. Two nested blocks may have the same visible start but
different visible ends, so the old check would give false positives.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting.cpp
WebCore/khtml/editing/visible_position.cpp
WebCore/khtml/editing/visible_position.h
WebCore/khtml/editing/visible_units.cpp