<rdar://problem/5478690> Regression: printing: footer only appears on the...
authoradachan <adachan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Sep 2007 01:53:01 +0000 (01:53 +0000)
committeradachan <adachan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Sep 2007 01:53:01 +0000 (01:53 +0000)
commit4af6b3a03c2f2072932f2b0642589422d9254c49
tree73358e2ab5b7d7b2db4b610e4c0cb792a4344aea
parentebbbd8f1aaeb16d0ebd716fc95658c18c124dbe3
    <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print

        Reviewed by Adam.

        * WebFrame.cpp:
        (WebFrame::spoolPages): the footer rect is relative to the top left of the current page.  So
        instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the
        document), we should pass in headerHeight plus the height of the pageRect.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/win/ChangeLog
WebKit/win/WebFrame.cpp