Skip to content
  • luiz@webkit.org's avatar
    2010-09-24 Luiz Agostini <luiz.agostini@openbossa.org> · e0514c5b
    luiz@webkit.org authored
            Reviewed by Kenneth Rohde Christiansen.
    
            Keep viewport information in Document
            https://bugs.webkit.org/show_bug.cgi?id=46385
    
            The viewport meta data (layout viewport, scale) needs to be set again when bringing
            back a page from the page cache. As the viewport metadata is only retrieved while parsing
            the document, we need to store it in the Document class.
    
            * fast/viewport/viewport-128-expected.txt: Copied from LayoutTests/fast/viewport/viewport-19-expected.txt.
            * fast/viewport/viewport-128.html: Added.
    2010-09-24  Luiz Agostini  <luiz.agostini@openbossa.org>
    
            Reviewed by Kenneth Rohde Christiansen.
    
            Keep viewport information in Document
            https://bugs.webkit.org/show_bug.cgi?id=46385
    
            The viewport meta data (layout viewport, scale) needs to be set again when bringing
            back a page from the page cache. As the viewport metadata is only retrieved while parsing
            the document, we need to store it in the Document class.
    
            Test: fast/viewport/viewport-128.html
    
            * WebCore.xcodeproj/project.pbxproj:
            * dom/Document.cpp:
            (WebCore::Document::processViewport):
            (WebCore::Document::setInPageCache):
            * dom/Document.h:
            (WebCore::Document::viewportArguments):
    2010-09-24  Luiz Agostini  <luiz.agostini@openbossa.org>
    
            Reviewed by Kenneth Rohde Christiansen.
    
            Keep viewport information in Document
            https://bugs.webkit.org/show_bug.cgi?id=46385
    
            The viewport meta data (layout viewport, scale) needs to be set again when bringing
            back a page from the page cache. As the viewport metadata is only retrieved while parsing
            the document, we need to store it in the Document class.
    
            * Api/qwebframe.cpp:
            (QWebFramePrivate::viewportArguments):
            * Api/qwebframe_p.h:
            * Api/qwebpage.cpp:
            (QWebPage::viewportConfigurationForSize):
            * WebCoreSupport/ChromeClientQt.cpp:
            (WebCore::ChromeClientQt::didReceiveViewportArguments):
            * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
            (DumpRenderTreeSupportQt::viewportAsText):
            * WebCoreSupport/FrameLoaderClientQt.cpp:
            (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e0514c5b