Skip to content

Commit

Permalink
#79 - Test case (PASSING) for text over two pages in one DOM element.
Browse files Browse the repository at this point in the history
Testing previous commit.
  • Loading branch information
danfickle committed Jan 20, 2019
1 parent a795565 commit 489091a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ public static void main(String... args) throws Exception {
run("simplest");
run("simple");
run("layers-z-index");
run("text-over-two-pages");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<html>
<head>
<title>Simple PDF/UA Testcase</title>
<meta name="description" content="A simple example"/>
<style>
@page {
size: 200px 200px;
margin: 0;
}
body {
margin: 0;
width: 200px;
}
</style>
</head>
<body style="font-family: 'TestFont'; font-size: 14px;">
<!-- NOTE: It is important for the test that the text over the two pages appears in one DOM element. -->

<p>
Paragraph one. Some text that goes over multiple lines. OK, this is getting to the required length.

Paragraph two. Some text that goes over multiple lines. OK, this is getting to the required length.

Paragraph three. Some text that goes over multiple lines. OK, this is getting to the required length.

Paragraph four. Some text that goes over multiple lines. OK, this is getting to the required length.
</p>
</body>
</html>

0 comments on commit 489091a

Please sign in to comment.