Reviewed by Ken.
<rdar://problem/
3965466> editing needs to insert text before applying typing style
* khtml/editing/htmlediting.cpp:
(khtml::ApplyStyleCommand::addInlineStyleIfNeeded): Remove a FIXME comment.
(khtml::InsertLineBreakCommand::doApply): Apply style to the BR
node after inserting it.
(khtml::InsertTextCommand::prepareForTextInsertion): Don't try to
apply style to any new nodes created before inserting.
(khtml::InsertTextCommand::input): Apply style to the inserted range
after doing the text insert.
* khtml/editing/htmlediting.h:
This change leads to improved results on one of the layout tests:
* layout-tests/editing/inserting/insert-div-024-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8422
268f45cc-cd09-0410-ab3c-
d52691b4dbfc