[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

aestes at apple.com aestes at apple.com
Wed Dec 22 18:15:02 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 5c20f2f3cc4a6ba52aa285367da78788fe7627b4
Author: aestes at apple.com <aestes at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 9 03:13:08 2010 +0000

    2010-12-08  Andy Estes  <aestes at apple.com>
    
            Reviewed by Darin Adler.
    
            Enable pre-HTML5 parser quirks for Apple Mail.app
            https://bugs.webkit.org/show_bug.cgi?id=50727
    
            * WebView/WebView.mm:
            (-[WebView _needsPreHTML5ParserQuirks]): Return true if the embedding
            application is Mail.app.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73585 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog
index f6b2beb..dae9653 100644
--- a/WebKit/mac/ChangeLog
+++ b/WebKit/mac/ChangeLog
@@ -1,3 +1,14 @@
+2010-12-08  Andy Estes  <aestes at apple.com>
+
+        Reviewed by Darin Adler.
+
+        Enable pre-HTML5 parser quirks for Apple Mail.app
+        https://bugs.webkit.org/show_bug.cgi?id=50727
+
+        * WebView/WebView.mm:
+        (-[WebView _needsPreHTML5ParserQuirks]): Return true if the embedding
+        application is Mail.app.
+
 2010-12-08  Brian Weinstein  <bweinstein at apple.com>
 
         Reviewed by John Sullivan.
diff --git a/WebKit/mac/WebView/WebView.mm b/WebKit/mac/WebView/WebView.mm
index e2ebe2b..527b563 100644
--- a/WebKit/mac/WebView/WebView.mm
+++ b/WebKit/mac/WebView/WebView.mm
@@ -1390,8 +1390,12 @@ static bool fastDocumentTeardownEnabled()
     // <https://bugs.webkit.org/show_bug.cgi?id=46334>.
     static bool isApplicationNeedingParserQuirks = !WebKitLinkedOnOrAfter(WEBKIT_FIRST_VERSION_WITH_HTML5_PARSER)
         && (applicationIsAOLInstantMessenger() || applicationIsMicrosoftMyDay());
+    
+    // Mail.app must continue to display HTML email that contains quirky markup.
+    static bool isAppleMail = applicationIsAppleMail();
 
     return isApplicationNeedingParserQuirks
+        || isAppleMail
 #if ENABLE(DASHBOARD_SUPPORT)
         // Pre-HTML5 parser quirks are required to remain compatible with many
         // Dashboard widgets. See <rdar://problem/8175982>.

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list