Skip to content
  • tonikitoo@webkit.org's avatar
    [BlackBerry] browser video player fullscreen mode (portrait) - Controls are... · 46031f72
    tonikitoo@webkit.org authored
    [BlackBerry] browser video player fullscreen mode (portrait) - Controls are off screen so cannot exit fullscreen
    https://bugs.webkit.org/show_bug.cgi?id=88488
    PR #162991
    
    Reviewed by George Staikos.
    Patch by Antonio Gomes <agomes@rim.com>
    
    When we use width:100%/pageScale as the math to calculate the width of the
    FullScreen element, it goes too wide for horizontally scrollable webpages.
    The reason is that 100% is relative to the content size here, and we want 100%
    relative to the viewport size. However, since there is no such a thing in CSS,
    we set an absolute file.
    
    A known problem with this will be rotating the device when in fullscreen mode
    that we can address when rotating is supported.
    
    Internally reviewed by Jacky Jiang.
    
    * WebCoreSupport/ChromeClientBlackBerry.cpp:
    (WebCore::ChromeClientBlackBerry::fullScreenRendererChanged):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    46031f72