From: timothy_horton@apple.com Date: Thu, 2 Jul 2015 23:40:59 +0000 (+0000) Subject: iOS WebKitLegacy should match WebKit2's viewport behavior X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=674fca33b15e101cd33a0349bc0d7d30456a90e0 iOS WebKitLegacy should match WebKit2's viewport behavior https://bugs.webkit.org/show_bug.cgi?id=146564 Reviewed by Brent Fulgham. * WebCoreSupport/WebChromeClientIOS.mm: (dictionaryForViewportArguments): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@186245 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Source/WebKit/ios/ChangeLog b/Source/WebKit/ios/ChangeLog index f29bee1..da4c5a1 100644 --- a/Source/WebKit/ios/ChangeLog +++ b/Source/WebKit/ios/ChangeLog @@ -1,6 +1,17 @@ 2015-07-02 Timothy Horton iOS WebKitLegacy should match WebKit2's viewport behavior + https://bugs.webkit.org/show_bug.cgi?id=146564 + + + Reviewed by Brent Fulgham. + + * WebCoreSupport/WebChromeClientIOS.mm: + (dictionaryForViewportArguments): + +2015-07-02 Timothy Horton + + iOS WebKitLegacy should match WebKit2's viewport behavior https://bugs.webkit.org/show_bug.cgi?id=146540 diff --git a/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm b/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm index 7cb6dc7..46f87d8 100644 --- a/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm +++ b/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm @@ -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) }; }