Skip to content
  • jer.noble@apple.com's avatar
    2011-05-17 Jeremy Noble <jer.noble@apple.com> · 7a362df3
    jer.noble@apple.com authored
            Reviewed by Darin Adler.
    
            Removing a full-screen element or ancestor from the DOM should trigger exiting full-screen mode.
            https://bugs.webkit.org/show_bug.cgi?id=60997
    
            Updated the following tests with the new expectation that removing an element from the DOM will trigger
            full screen mode to exit.
    
            * fullscreen/full-screen-remove-ancestor-expected.txt:
            * fullscreen/full-screen-remove-ancestor.html:
            * fullscreen/full-screen-remove-children-expected.txt:
            * fullscreen/full-screen-remove-children.html:
            * fullscreen/full-screen-remove-expected.txt:
            * fullscreen/full-screen-remove.html:
    2011-05-17  Jeremy Noble  <jer.noble@apple.com>
    
            Reviewed by Darin Adler.
    
            Removing a full-screen element or ancestor from the DOM should trigger exiting full-screen mode.
            https://bugs.webkit.org/show_bug.cgi?id=60997
    
            Tests: fullscreen/full-screen-remove-ancestor.html
                   fullscreen/full-screen-remove-children.html
                   fullscreen/full-screen-remove.html
    
            * dom/Document.cpp:
            (WebCore::Document::fullScreenChangeDelayTimerFired): If the target node was removed from the document
                make sure to message the documentElement() as well.
            (WebCore::Document::fullScreenElementRemoved): Cancel full screen mode.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7a362df3