[Webkit-unassigned] [Bug 84738] [BlackBerry] setUserViewportArguments not always respected.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 10:57:50 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84738





--- Comment #6 from Konrad Piascik <kpiascik at rim.com>  2012-04-24 10:57:49 PST ---
View in context: https://bugs.webkit.org/attachment.cgi?id=138592&action=review

>> Source/WebKit/blackberry/Api/WebPage.cpp:3160
>> +    ViewportAttributes result = computeViewportAttributes(m_viewportArguments, desktopWidth, deviceWidth, deviceHeight, deviceDPI, m_defaultLayoutSize);
> 
> ... and pass it as a parameter here. Is it really needed?

We're not changing the DeviceDPI, what we're doing is changing the default targetDensityDPI of the meta viewport arguments.  On the PlayBook the targetDensityDPI if not specified should be the DeviceDPI.  The DeviceDPI passed into the computeViewportAttributes needs to be the correct deviceDPI otherwise there will be no scaling.

-- 
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