2010-06-20  Hayato Ito  <hayato@chromium.org>

        Reviewed by Kent Tamura.

        Add tests for CSS3 Paged Media to make sure page breaks should happen at right places.
        Two tests (allowed-page-break and page-break-margin-collapsed) are expected to fail
        due to lack of support.

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

        * printing/allowed-page-breaks-expected.txt: Added.
        * printing/allowed-page-breaks.html: Added.
        * printing/no-content-empty-pages-expected.txt: Added.
        * printing/no-content-empty-pages.html: Added.
        * printing/page-break-display-none-expected.txt: Added.
        * printing/page-break-display-none.html: Added.
        * printing/page-break-margin-collapsed-expected.txt: Added.
        * printing/page-break-margin-collapsed.html: Added.
        * printing/script-tests/allowed-page-breaks.js: Added.
        (test):
        * printing/script-tests/no-content-empty-pages.js: Added.
        (test):
        * printing/script-tests/page-break-display-none.js: Added.
        (test):
        * printing/script-tests/page-break-margin-collapsed.js: Added.
        (test):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/printing/allowed-page-breaks.html b/LayoutTests/printing/allowed-page-breaks.html
new file mode 100644
index 0000000..6e022d7
--- /dev/null
+++ b/LayoutTests/printing/allowed-page-breaks.html
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../fast/js/resources/js-test-style.css">
+<script src="../fast/js/resources/js-test-pre.js"></script>
+<script src="resources/paged-media-test-utils.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<div id="sandbox"></div>
+<script src="script-tests/allowed-page-breaks.js"></script>
+<script>runPrintingTest(test);</script>
+<script src="../fast/js/resources/js-test-post.js"></script>
+</body>
+</html>