Skip to content
  • kmccullo's avatar
    LayoutTests: · 231507bc
    kmccullo authored
            Reviewed by Darin, Geoff and Sam.
    
            - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
    
            - Tests to ensure we resize/move the window out of bounds correctly.
    
            * fast/dom/Window/window-resize-expected.txt: Added.
            * fast/dom/Window/window-resize.html: Added.
            * mac/leopard/Skipped:
    
    WebCore:
    
            Reviewed by Darin, Geoff and Sam.
    
            - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
            - We now better match the behavior of other browsers.
    
            * bindings/js/kjs_window.cpp:
            (KJS::constrainToVisible):
            (KJS::WindowFunc::callAsFunction):
    
    WebKitTools:
    
            Reviewed by Darin, Geoff, Sam.
    
            - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
    
            - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
    
            * DumpRenderTree/UIDelegate.h:
            * DumpRenderTree/UIDelegate.m:
            (-[UIDelegate webView:setFrame:]):
            (-[UIDelegate webViewFrame:]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    231507bc