Skip to content
  • justin.garcia@apple.com's avatar
    WebCore: · 692743d4
    justin.garcia@apple.com authored
    2008-05-05  Justin Garcia  <justin.garcia@apple.com>
    
            Reviewed by Darin.
    
            <rdar://problem/5865171> REGRESSION: Creating a new quote places caret at beginning of quote instead of the end
            
            Disable Range mutation on document modifications in Tiger and Leopard Mail,
            since they do their own mutation which interferes with ours.
    
            * WebCore.base.exp:
            * dom/Document.cpp:
            (WebCore::Document::nodeChildrenChanged):
            (WebCore::Document::nodeWillBeRemoved):
            (WebCore::Document::textInserted):
            (WebCore::Document::textRemoved):
            (WebCore::Document::textNodesMerged):
            (WebCore::Document::textNodeSplit):
            * page/Settings.cpp:
            (WebCore::Settings::Settings):
            (WebCore::Settings::disableRangeMutationForOldAppleMail):
            * page/Settings.h:
            (WebCore::Settings::rangeMutationDisabledForOldAppleMail):
    
    WebKit/mac:
    
    2008-05-05  Justin Garcia  <justin.garcia@apple.com>
    
            Reviewed by Darin.
            
            <rdar://problem/5865171> REGRESSION: Creating a new quote places caret at beginning of quote instead of the end
    
            * WebView/WebView.mm:
            (-[WebView _updateSettingsFromPreferences:]): Disable Range mutation on changes to
            the document for Tiger and Leopard Mail.  There is code in Mail that does it, and
            the two interfere.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    692743d4