Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 723a590f authored by Zang Lin's avatar Zang Lin Committed by Gerrit Code Review
Browse files

WebViewCore: Fix the issue of wrong zoom density when opening web pages with...


WebViewCore: Fix the issue of wrong zoom density when opening web pages with overview mode disabled.

On JellyBean browser, when pages opened
 with "open pages in overview" disabled and "Default zoom" option set to
 "Far" or "Close", the zoom density is not correct.

 The issue is caused by the wrong scale factor calculated when setup
 viewport. it is fixed to 1.5 in JB. whereas it should be different for
 different "Default zoom" setting.

 This Patch will fix this issue. it set the scale factor to the
 defaultzoomscale calculated considering zoom density. it also add
 adjust process to guarantee the zoom density is right after navigating
 page with specified viewport "target-densitydpi".

 Author: Zang Lin <lin.zang@intel.com>
Signed-off-by: default avatarJack Ren <jack.ren@intel.com>
Signed-off-by: default avatarBruce Beare <bruce.j.beare@intel.com>

Change-Id: I68dd193457c40ce9eb73635297ce7bb61b373bac
parent 1cf37fe9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment