Reviewed by Ken and Darin.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Nov 2004 01:36:53 +0000 (01:36 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Nov 2004 01:36:53 +0000 (01:36 +0000)
commit31ab592931b578f13c708a1b28f15ac6e46294cf
tree277d4cc53a8c4caeaab77ee4d17327d6698bd6df
parent29d4b7db0e00ea1ad3eecca1c46dc08ee16476f5
    Reviewed by Ken and Darin.

        <rdar://problem/3856215> Cannot remove bold from the beginning of a message

        Problem is that KHTMLPart::computeAndSetTypingStyle always looked upstream
        for the existing style, but in this case (hitting cmd-B with caret at top of
        file) there is nothing upstream.  Changed this to use the VisiblePosition
        deepEquivalent instead.

        * khtml/khtml_part.cpp:
        (KHTMLPart::computeAndSetTypingStyle):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/khtml_part.cpp