Fix for 3787133, some web pages print with many blank pages. Make sure to use the...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Dec 2004 01:36:23 +0000 (01:36 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Dec 2004 01:36:23 +0000 (01:36 +0000)
commitd05cf0e2a19bc5f42850657f500a9cddf542b8c2
treee9ea78f7e9c2081623de4db6bc66ef36e73fd1b3
parent42bbf651224f12f67887984d305f651f0dd181c6
Fix for 3787133, some web pages print with many blank pages.  Make sure to use the real page print rect and
not a damage rect that can be changed when intersected with the clip regions of the web page.

        Reviewed by john

        * khtml/rendering/render_canvas.h:
        (khtml::RenderCanvas::printRect):
        (khtml::RenderCanvas::setPrintRect):
        * khtml/rendering/render_flow.cpp:
        (RenderFlow::paintLines):
        * khtml/rendering/render_list.cpp:
        (RenderListMarker::paint):
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::adjustPageHeight):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_canvas.h
WebCore/khtml/rendering/render_flow.cpp
WebCore/khtml/rendering/render_list.cpp
WebCore/kwq/KWQKHTMLPart.mm