Floating division miscalculation with launching in landscape mode
authorChanghyup Jwa <ch.jwa@samsung.com>
Thu, 18 Apr 2013 00:38:25 +0000 (09:38 +0900)
committerChanghyup Jwa <ch.jwa@samsung.com>
Thu, 18 Apr 2013 02:03:33 +0000 (11:03 +0900)
commit7f17e96324ec128a79d84f6dba09d59a36eff918
treeb2ace752f611c495c55942f724b58d3f46b67ffb
parent09e98d9c49faeaafdb54551fd871483b631ae689
Floating division miscalculation with launching in landscape mode

[Title] Floating division miscalculation with launching in landscape mode
[Issue#] N_SE-35034, N_SE-35003
[Problem] Content is not fitted correctly if browser loads media content in
        landscape mode
[Cause] Minimum scale factor is selected maximum one between horizontal and
        vertical minimum scale factor. And on landscape mode, vertical minimum
        scale factor is a bit larger than horizontal minimum scale factor. So,
        content is not fitted initially.
[Solution] Ignore a bit difference between horizontal and vertial minimum
        scale factor. And initialize m_viewportAngle for landscape mode
        launching.

Change-Id: I9c551f35606ea724cceaa2461a39705bfd8f949b
Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp