Skip to content

Commit

Permalink
danfickle#553 Failing test for paginated table with negative top marg…
Browse files Browse the repository at this point in the history
…in [ci skip]
  • Loading branch information
danfickle authored and schrader committed Oct 12, 2020
1 parent 60d8160 commit 2dc0dc4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<body>
<div style="page-break-before: always;"></div>
<table style="margin-top: -20px; -fs-table-paginate: paginate;">
<tr><td>Row 1</td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,15 @@ public void testIssue478ListDecorationPosition() throws IOException {
}));
}

/**
* Tests paginated table with negative margin at start of new page.
*/
@Test
@Ignore // Currently throwing a NPE at ContentLimitContainer::updateTop.
public void testIssue553TableNegativeMargin() throws IOException {
assertTrue(vt.runTest("issue-553-table-negative-margin"));
}

// TODO:
// + Elements that appear just on generated overflow pages.
// + content property (page counters, etc)
Expand Down

0 comments on commit 2dc0dc4

Please sign in to comment.