2010-06-16 Hayato Ito <hayato@chromium.org>
authorhamaji@chromium.org <hamaji@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jun 2010 06:59:49 +0000 (06:59 +0000)
committerhamaji@chromium.org <hamaji@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jun 2010 06:59:49 +0000 (06:59 +0000)
commitdaf61175254b2c27f4b2b44649c56a3c0fbe80a5
treef0aba63717a530e83055116b7407903cdfe17c09
parent341244d08cbbecaea14f51eb5e2c44e80b2048f4
2010-06-16  Hayato Ito  <hayato@chromium.org>

        Reviewed by Shinichiro Hamaji.

        Refactor layout tests for printing to use common code.

        https://bugs.webkit.org/show_bug.cgi?id=40559

        * printing/numberOfPages-expected.txt:
        * printing/numberOfPages.html:
        * printing/page-break-always-expected.txt:
        * printing/page-break-always-for-overflow-expected.txt:
        * printing/page-break-always-for-overflow.html:
        * printing/page-break-always.html:
        * printing/page-break-inside-avoid-expected.txt: Added.
        * printing/page-break-inside-avoid.html: Added.
        * printing/page-break-inside-expected.txt: Removed.
        * printing/page-break-inside.html: Removed.
        * printing/pageNumerForElementById-expected.txt:
        * printing/pageNumerForElementById.html:
        * printing/resources/paged-media-test-utils.js:
        (numberOfPagesShouldBe):
        (ratioToPageHeightToPixels):
        (createBlockWithRatioToPageHeight):
        (createBlockWithNumberOfLines):
        * printing/script-tests/TEMPLATE.html:
        * printing/script-tests/numberOfPages.js:
        (test):
        * printing/script-tests/page-break-always-for-overflow.js:
        (test):
        * printing/script-tests/page-break-always.js:
        (test):
        * printing/script-tests/page-break-inside-avoid.js: Added.
        (test):
        * printing/script-tests/page-break-inside.js: Removed.
        * printing/script-tests/pageNumerForElementById.js:
        (test):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
LayoutTests/ChangeLog
LayoutTests/printing/numberOfPages-expected.txt
LayoutTests/printing/numberOfPages.html
LayoutTests/printing/page-break-always-expected.txt
LayoutTests/printing/page-break-always-for-overflow-expected.txt
LayoutTests/printing/page-break-always-for-overflow.html
LayoutTests/printing/page-break-always.html
LayoutTests/printing/page-break-inside-avoid-expected.txt [new file with mode: 0644]
LayoutTests/printing/page-break-inside-avoid.html [moved from LayoutTests/printing/page-break-inside.html with 68% similarity]
LayoutTests/printing/page-break-inside-expected.txt [deleted file]
LayoutTests/printing/pageNumerForElementById-expected.txt
LayoutTests/printing/pageNumerForElementById.html
LayoutTests/printing/resources/paged-media-test-utils.js
LayoutTests/printing/script-tests/TEMPLATE.html
LayoutTests/printing/script-tests/numberOfPages.js
LayoutTests/printing/script-tests/page-break-always-for-overflow.js
LayoutTests/printing/script-tests/page-break-always.js
LayoutTests/printing/script-tests/page-break-inside-avoid.js [new file with mode: 0644]
LayoutTests/printing/script-tests/page-break-inside.js [deleted file]
LayoutTests/printing/script-tests/pageNumerForElementById.js