1 description("Test for no-content empty pages");
5 // Only one page break should happen at the same position.
6 createBlockWithRatioToPageHeight("page1-1", 0).style.pageBreakBefore = "always";
7 createBlockWithRatioToPageHeight("page1-2", 0).style.pageBreakBefore = "always";
8 createBlockWithRatioToPageHeight("page1-3", 0).style.pageBreakBefore = "always";
9 createBlockWithRatioToPageHeight("page1-last", 0.1);
11 pageNumberForElementShouldBe("page1-1", 1);
12 pageNumberForElementShouldBe("page1-last", 1);
14 document.body.removeChild(document.getElementById("sandbox"));
17 var successfullyParsed = true;