1 description("Test for big margin.");
5 createBlockWithRatioToPageHeight("page1", 0.1).style.pageBreakBefore = "always";
6 createBlockWithRatioToPageHeight("page2", 0.1).style.marginTop = "100000px";
8 pageNumberForElementShouldBe("page1", 1);
9 // Instead of inserting many empty pages, we should place block 'page2'
10 // on the next page, collapsing the margin between vetically adjacent blocks.
11 pageNumberForElementShouldBe("page2", 2);
13 document.body.removeChild(document.getElementById("sandbox"));
16 var successfullyParsed = true;