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