WebCore:
Reviewed by Justin.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9505
moveParagraphContentsToNewBlockIfNecessary creates a new block outside the current position
* editing/CompositeEditCommand.cpp:
Added sanity checking to prevent modifying nodes outside of
where we should be
(WebCore::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
LayoutTests:
Reviewed by Justin.
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9505
moveParagraphContentsToNewBlockIfNecessary creates a new block outside the current position
* editing/pasteboard/paste-table-002.html: Added.
* editing/pasteboard/paste-table-002-expected.checksum: Added.
* editing/pasteboard/paste-table-002-expected.png: Added.
* editing/pasteboard/paste-table-002-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15103
268f45cc-cd09-0410-ab3c-
d52691b4dbfc