diff --git a/packages/core/test/files/file-list.js b/packages/core/test/files/file-list.js index 53bfdb8fc..8f4defda5 100644 --- a/packages/core/test/files/file-list.js +++ b/packages/core/test/files/file-list.js @@ -135,15 +135,20 @@ module.exports = [ category: "Nth page selector", files: [ { - file: ["nth-page/nth-page.html", "nth-page/nth-page.html"], - title: "nth() page selector & blank page between two docs", + file: "nth-page/nth-page.html", + title: "nth() page selector", + }, + { + file: "nth-page/nth-page-counter-reset.html", + title: "nth() page selector & page counter reset", }, { file: [ + "nth-page/nth-page.html", "nth-page/nth-page-counter-reset.html", - "nth-page/nth-page-counter-reset.html", + "nth-page/nth-page.html", ], - title: "nth() page selector & page counter reset", + title: "nth() page selector & page counter reset in multiple documents", }, ], }, diff --git a/packages/core/test/files/nth-page/nth-page-counter-reset.html b/packages/core/test/files/nth-page/nth-page-counter-reset.html index 520ce86f1..2e5959b4d 100644 --- a/packages/core/test/files/nth-page/nth-page-counter-reset.html +++ b/packages/core/test/files/nth-page/nth-page-counter-reset.html @@ -84,14 +84,21 @@ margin: auto; table-layout: fixed; } + .test td { + text-align: center; + } + .test td:first-child { + text-align: left; + } + .test td:last-child { + text-align: right; + } code { font-size: smaller; } - h1 { - font-size: large; - } body { margin: 0; + line-height: 1.2; } @@ -245,5 +252,20 @@
counter-reset: page 100
(incremented to 101).
+ The 10th page header/footer should be:
++ | + | :nth(even) | +
:nth(n+5) | ++ | Page 102 | +