Skip to content
  • kenneth@webkit.org's avatar
    Update the tests to test the new render functionality, and take · ca3b305a
    kenneth@webkit.org authored
    into consideration that render() clips to the frame itself as well
    as the viewport.
    
    Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-20
    Reviewed by Adam Barth.
    
    QWebFrame::render() now always clips, so the old tests were bogus.
    
    Rendering pure contents (no scrollbars etc) without clipping can now
    be accomplished using QWebFrame::documentElement()->render(...)
    
    * Api/qwebframe.cpp:
    * Api/qwebframe.h:
    * Api/qwebframe_p.h:
    (QWebFramePrivate::QWebFramePrivate):
    * tests/qwebframe/tst_qwebframe.cpp:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ca3b305a