-
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.
#180 - Text tests - Tests that an oversized text in a running element…
… does not generate a horizontal overflow page.
- Loading branch information
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+4.26 KB
...f-examples/src/main/resources/visualtest/expected/text/running-overflow-not-generated.pdf
Binary file not shown.
26 changes: 26 additions & 0 deletions
26
...opdf-examples/src/main/resources/visualtest/html/text/running-overflow-not-generated.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,26 @@ | ||
<html> | ||
<head> | ||
<style> | ||
@page { | ||
size: 200px 200px; | ||
margin: 60px; | ||
-fs-max-overflow-pages: 10; | ||
-fs-overflow-pages-direction: ltr; | ||
|
||
@top-center { | ||
content: element(hdr); | ||
} | ||
} | ||
.header { | ||
box-sizing: border-box; | ||
height: 60px; | ||
width: 60px; | ||
position: running(hdr); | ||
border: 2px solid red; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="header" style="font-family: 'TestFont'; font-size: 14px;">ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ</div> | ||
</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