[Webkit-unassigned] [Bug 70609] Consider removing line (or making it optional) in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 21 08:12:18 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=70609
Fady Samuel <fsamuel at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Consider removing line (or |Consider removing line (or
|making it optional)in |making it optional) in
|computeViewportAttributes |computeViewportAttributes
|that enforces a minimum |that enforces a minimum
|scale factor to never allow |scale factor to never allow
|zooming out more than |zooming out more than
|viewport |viewport
--- Comment #1 from Fady Samuel <fsamuel at chromium.org> 2011-10-21 08:12:18 PST ---
For reference please see the file Source/WebCore/dom/ViewportArguments.cpp:
http://www.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/dom/ViewportArguments.cpp&exact_package=chromium&q=ViewportArguments.cpp&type=cs
We would like to delete these lines or at least put them behind a (default) parameter:
// Update minimum scale factor, to never allow zooming out more than viewport
result.minimumScale = max<float>(result.minimumScale, max(availableWidth / width, availableHeight / height));
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list