Turn off margin tiles on iOS
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Feb 2014 23:38:08 +0000 (23:38 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Feb 2014 23:38:08 +0000 (23:38 +0000)
https://bugs.webkit.org/show_bug.cgi?id=129509
-and corresponding-
<rdar://problem/16200383>

Reviewed by Simon Fraser.

* page/FrameView.cpp:
(WebCore::FrameView::needsExtendedBackgroundRectForPainting):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164891 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/page/FrameView.cpp

index ffb70c4..58a44b3 100644 (file)
@@ -1,3 +1,15 @@
+2014-02-28  Beth Dakin  <bdakin@apple.com>
+
+        Turn off margin tiles on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=129509
+        -and corresponding-
+        <rdar://problem/16200383>
+
+        Reviewed by Simon Fraser.
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::needsExtendedBackgroundRectForPainting):
+
 2014-02-28  Zalan Bujtas  <zalan@apple.com>
 
         Subpixel rendering: Add subpixel support to border type of double, groove, ridge, inset and outset.
index 4b610a9..f0cb480 100644 (file)
@@ -2462,6 +2462,11 @@ bool FrameView::needsExtendedBackgroundRectForPainting() const
     // such as images, require extending the background rect to continue painting into the extended
     // region. This function finds out if it is necessary to extend the background rect for painting.
 
+#if PLATFORM(IOS)
+    // <rdar://problem/16201373>
+    return false;
+#endif
+
     if (!frame().settings().backgroundShouldExtendBeyondPage())
         return false;