From e2a34551fd5285206ade9347b0ea5906a0f76da0 Mon Sep 17 00:00:00 2001 From: Yunchan Cho Date: Fri, 22 Feb 2013 16:17:47 +0900 Subject: [PATCH] change webview setting regarding automatically fitting content to device wdith [Issue#] DCM-561 [Problem] when webview is resized to other size, its content like font/image is changed to smaller size or bigger size [Cause] Change of content has been caused by webkit setting regarding automatical fitting web content to device's width [Solution] webkit setting is changed not to set fitting web content to devices' width automatically. Change-Id: Idd5f8cae481c1273c5e4ee2f4252f6dff2639e40 --- src/view/webkit/view_logic.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/view/webkit/view_logic.cpp b/src/view/webkit/view_logic.cpp index 4d3bf0c..9cd73b2 100644 --- a/src/view/webkit/view_logic.cpp +++ b/src/view/webkit/view_logic.cpp @@ -652,7 +652,9 @@ void ViewLogic::prepareEwkView(Evas_Object *wkView) // elm_webview_show_magnifier_set(EINA_FALSE); ewk_settings_javascript_enabled_set(settings, EINA_TRUE); ewk_settings_loads_images_automatically_set(settings, EINA_TRUE); - ewk_settings_auto_fitting_set(settings, EINA_TRUE); + // WRT should not fit web contents to device width automatically as default. + // Fitting to device width should be handled by web content using viewport meta tag. + ewk_settings_auto_fitting_set(settings, EINA_FALSE); // disable zoom option when user click the input field // this option is useful with the normal website -- 2.7.4