Reviewed by John.
<rdar://problem/
4053266> Pressing return a few times right after a link makes the new blank lines part of the link
* khtml/editing/htmlediting.cpp:
(khtml::InsertLineBreakCommand::doApply): Use
positionOutsideContainingSpecialElement in the right two places.
(khtml::InsertParagraphSeparatorCommand::doApply): Ditto.
- move all these helper functions higher in the file
* khtml/editing/htmlediting.cpp:
(khtml::isSpecialElement):
(khtml::isFirstVisiblePositionInSpecialElement):
(khtml::positionBeforeNode):
(khtml::positionBeforeContainingSpecialElement):
(khtml::maxRangeOffset):
(khtml::isLastVisiblePositionInSpecialElement):
(khtml::positionAfterNode):
(khtml::positionAfterContainingSpecialElement):
(khtml::positionOutsideContainingSpecialElement):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8900
268f45cc-cd09-0410-ab3c-
d52691b4dbfc