Reviewed by Darin
Fix for this bug:
<rdar://problem/
3778059> Odd behaviour when editing between blockquote elements
* khtml/editing/htmlediting_impl.cpp:
(khtml::CompositeEditCommandImpl::deleteUnrenderedText): This function should not move
the selection out of the current block, ever. This is exactly what the bug reported.
What was I thinking? Now, the code looks at the passed-in position and then the equivalent
upstream and downstream positions to see if the selection can be placed there after the
delete, and settles on the block containing the passed-in position as a fallback.
* layout-tests/editing/inserting/insert-
3778059-fix-expected.txt: Added.
* layout-tests/editing/inserting/insert-
3778059-fix.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7386
268f45cc-cd09-0410-ab3c-
d52691b4dbfc