Skip to content
  • eric@webkit.org's avatar
    2010-05-27 Hans Wennborg <hans@chromium.org> · feb3dd73
    eric@webkit.org authored
            Reviewed by Jeremy Orlow.
    
            [Chromium] Default popup window size should not depend on zoom level
            https://bugs.webkit.org/show_bug.cgi?id=39835
    
            V8DOMWindow::openCallback should not set width and height of new
            window unless specified in the function's arguments.
    
            There is already code to reset the new window's origin coordinates,
            but the same thing should be done to its dimensions as well. Otherwise,
            a new popup with unspecified size will have its size depending on the
            parent's zoom level, which is not desirable.
    
            This is the same as what is done in
            bindings/js/JSDOMWindowCustom.cpp:826.
    
            * bindings/v8/custom/V8DOMWindowCustom.cpp:
            (WebCore::V8DOMWindow::openCallback):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    feb3dd73