-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#79 - Link implementation for PDF/UA with testcase.
- Loading branch information
Showing
5 changed files
with
143 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
openhtmltopdf-examples/src/main/resources/testcases/pdfua/links.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<html> | ||
<head> | ||
<title>Simple PDF/UA Link Testcase</title> | ||
<meta name="description" content="A simple link example"/> | ||
<style> | ||
@page { | ||
size: 200px 200px; | ||
margin: 0; | ||
} | ||
body { | ||
margin: 0; | ||
width: 200px; | ||
} | ||
</style> | ||
</head> | ||
<body style="font-family: 'TestFont'; font-size: 14px;"> | ||
<p>This is a link to <a title="Go to Google!" href="https://google.com">Google (external)</a>.</p> | ||
<p>This is an internal link to the <a title="Go to end of document." href="#bottom">bottom of the document</a>.</p> | ||
<p>This is some text to push the bottom of the document to page 3. OK here is some more and some more!</p> | ||
<p>Paragraph one. Some text that goes over multiple lines. OK, this is getting to the required length.</p> | ||
<p>Paragraph two. Some text that goes over multiple lines. OK, this is getting to the required length.</p> | ||
<p>Paragraph three. Some text that goes over multiple lines. OK, this is getting to the required length.</p> | ||
<p id="bottom">And this is the bottom of the document finally!</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters