RESOLVED INVALID89008
[Qt][WK2] For certain "viewport" setting, browser shows content to fit to width
https://bugs.webkit.org/show_bug.cgi?id=89008
Summary [Qt][WK2] For certain "viewport" setting, browser shows content to fit to width
Tao.Yu
Reported 2012-06-13 09:15:21 PDT
Reproducing steps: 1. start Minibrowser through below command: ./MiniBrowser --window-size 320x480 2. Load the attached test page or from this URL: http://iop4.nokia-boston.com/users/tests/viewport/Manual_Tests/ViewPort04.html 3. After the page is loaded, scroll down the page to show the image with 20x20 grids (image size is 600x600 pixels). Expected result: Only part of the image (for example, for the 1st row, only the first 10 grids) will be shown on the screen. Actual result: all 20 grids of the 1st row are shown (fit to the width) on the screen. iPhone (iOS 5.1.1) works ok but QT WK2 miniBrowser does not.
Attachments
Test Content (288.67 KB, application/x-zip-compressed)
2012-06-13 09:15 PDT, Tao.Yu
no flags
Tao.Yu
Comment 1 2012-06-13 09:15:52 PDT
Created attachment 147335 [details] Test Content
Allan Sandfeld Jensen
Comment 2 2012-08-02 06:45:29 PDT
So the problem is the viewport metatag is not applied, or that device-height is not respected?
Andras Becsi
Comment 3 2012-08-08 04:11:21 PDT
Since "none" does not seem to be a valid keyword for the width property of the meta tag [1] it translates to 0 which is handled differently (incorrectly?) by our webview. [1] http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html
Jocelyn Turcotte
Comment 4 2014-02-03 03:21:15 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.