Reviewed by Ken.
<rdar://problem/
4029225> REGRESSION (Mail): Crash if hit return after dragging in attachment - DeleteSelectionCommand::initializePositionData
Work around the fact that the height() of a BR is 0 if there are no text elements on the line, even if there are replaced elements.
Filed <rdar://problem/
4040358> RenderBR height() is not accurate.
* khtml/editing/htmlediting.cpp:
(khtml::ReplaceSelectionCommand::doApply):
When height is 0, double check that the placeholder is the first position on the line.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8814
268f45cc-cd09-0410-ab3c-
d52691b4dbfc