Fixed: <rdar://problem/3937352> Quote level not maintained when copied and pasted...
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Feb 2005 23:50:09 +0000 (23:50 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Feb 2005 23:50:09 +0000 (23:50 +0000)
commit8538808d695f50f7b4a1515e8c12a07c6fb8b53e
treedecb4c173940980a73766cdb4a00b8c2847331b0
parent995fd83c5eca61bf45c30a87bc8daef7c8d79850
Fixed: <rdar://problem/3937352> Quote level not maintained when copied and pasted within a Mail message

        Reviewed by harrison.

        * khtml/editing/markup.cpp:
        (khtml::isMailBlockquote): new
        (khtml::createMarkup): retain the Mail quote level by including all ancestor mail block quotes
        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::positionForCoordinates): default to downstream for the affinity since the affinity is only upstream when the cursor is clicked to the right of a wrapped line
        * khtml/rendering/render_text.cpp:
        (RenderText::positionForCoordinates): ditto

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/markup.cpp
WebCore/khtml/rendering/render_block.cpp
WebCore/khtml/rendering/render_text.cpp