Changeset 157602 in webkit
- Timestamp:
- Oct 17, 2013, 2:38:41 PM (13 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
-
Api/WebPage.cpp (modified) (1 diff)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r156692 r157602 3386 3386 return IntSize(); 3387 3387 3388 // We want to respect viewport when width is not specified in the viewport meta tag in order to improve the 3389 // user experience of some websites that use a reasonable initial-scale, but have some overly-wide contents. 3390 if (m_viewportArguments.width == ViewportArguments::ValueAuto) 3391 m_forceRespectViewportArguments = true; 3392 3388 3393 int desktopWidth = DEFAULT_MAX_LAYOUT_WIDTH; 3389 3394 int deviceWidth = Platform::Graphics::Screen::primaryScreen()->width(); -
trunk/Source/WebKit/blackberry/ChangeLog
r157534 r157602 1 2013-10-17 Jacky Jiang <zhajiang@blackberry.com> 2 3 [BlackBerry] Improve the viewport of some websites like mobilesyrup.com/2013/08/25/moto-x-review/ 4 https://bugs.webkit.org/show_bug.cgi?id=122995 5 6 Reviewed by George Staikos. 7 Internally reviewed by George Staikos and Eli Fidler. 8 9 JIRA 523949 10 Force to respect the viewport when there is viewport meta tag but width 11 is not specified even though the viewport is broken. By doing that, We 12 want to improve the user experience of some websites that use a reasonable 13 initial-scale, but have some overly-wide contents 14 15 The contents of those websites like mobilesyrup.com/2013/08/25/moto-x-review 16 should be improved by the contents provider eventually. 17 18 * Api/WebPage.cpp: 19 (BlackBerry::WebKit::WebPagePrivate::recomputeVirtualViewportFromViewportArguments): 20 1 21 2013-10-16 Jochen Eisinger <jochen@chromium.org> 2 22
Note:
See TracChangeset
for help on using the changeset viewer.