Skip to content
  • tonikitoo@webkit.org's avatar
    [BlackBerry] browser video player fullscreen mode (portrait) - out of... · 78e88f52
    tonikitoo@webkit.org authored
    [BlackBerry] browser video player fullscreen mode (portrait) - out of screen/focus - cannot navigate or use the buttons on the screen (PART II)
    https://bugs.webkit.org/show_bug.cgi?id=88019
    
    Reviewed by George Staikos.
    Patch by Antonio Gomes <agomes@rim.com>
    
    When an element goes fullscreen, its wrapper/container obeys all
    BlackBerry specific fixed position customizations: we fixed
    against Y, but not X. Then, in order to have the wrapper element
    properly positioned when entering fullscreen mode, we
    temporarily scroll x to 0.
    
    The original x scroll position is restored when we leave
    fullscreen.
    
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
    (BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement):
    (BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement):
    * Api/WebPage_p.h:
    (WebPagePrivate):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    78e88f52