Reviewed by Ken.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2005 20:22:59 +0000 (20:22 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2005 20:22:59 +0000 (20:22 +0000)
commit40e177a9e809e12593fd431601723c55f16f2844
tree6a6ae991a5560673eea939de12aef6d61265da3c
parentbc9fa7288c321893d4712e0827c35aa70ee4fe0e
    Reviewed by Ken.

<rdar://problem/3949790> hitting return after pasted styled line results in extra content getting the style

        * khtml/editing/htmlediting.cpp:
        (khtml::InsertParagraphSeparatorCommand::doApply): In the case
where the start block is the root, insert the newly created DIV at
the end of the root block instead of after the last sibling in the
start node, since the start node could be inside other
style-affecting nodes and we don't want to reparent its cousins
into that.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/css/cssproperties.c
WebCore/khtml/css/cssvalues.c
WebCore/khtml/editing/htmlediting.cpp