iOS WebKitLegacy should match WebKit2's viewport behavior
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Jul 2015 23:40:59 +0000 (23:40 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Jul 2015 23:40:59 +0000 (23:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=146564
<rdar://problem/20574017>

Reviewed by Brent Fulgham.

* WebCoreSupport/WebChromeClientIOS.mm:
(dictionaryForViewportArguments):

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

Source/WebKit/ios/ChangeLog
Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm

index f29bee1..da4c5a1 100644 (file)
@@ -1,6 +1,17 @@
 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
 
         iOS WebKitLegacy should match WebKit2's viewport behavior
+        https://bugs.webkit.org/show_bug.cgi?id=146564
+        <rdar://problem/20574017>
+
+        Reviewed by Brent Fulgham.
+
+        * WebCoreSupport/WebChromeClientIOS.mm:
+        (dictionaryForViewportArguments):
+
+2015-07-02  Timothy Horton  <timothy_horton@apple.com>
+
+        iOS WebKitLegacy should match WebKit2's viewport behavior
         https://bugs.webkit.org/show_bug.cgi?id=146540
         <rdar://problem/20574017>
 
index 7cb6dc7..46f87d8 100644 (file)
@@ -167,6 +167,7 @@ static inline NSDictionary* dictionaryForViewportArguments(const WebCore::Viewpo
               @"minimum-scale":@(arguments.minZoom),
               @"maximum-scale":@(arguments.maxZoom),
               @"user-scalable":@(arguments.userZoom),
+              @"shrink-to-fit":@(arguments.shrinkToFit),
               @"width":@(arguments.width),
               @"height":@(arguments.height) };
 }