-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=94117 Partially patched by Arvid Nilsson. Patch by Leo Yang <leoyang@rim.com> on 2012-08-15 Reviewed by George Staikos. Reviewed internally by Arvid Nilsson. When rotating the content width used for fixedLayoutSize is not correct because we are changing the rotation and the content with should be determined after layout. So we set the with to 0 if we are rotating and beginning the nested layout. And in setViewportSize we need a nested layout loop to trigger zoom-to-fit. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::fixedLayoutSize): (BlackBerry::WebKit::WebPagePrivate::setViewportSize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f813d03e