-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…w line. With test to prove that we don't trigger safety valve with lots of unbreakable words. Safety valve should only be triggered if there is still a bug in our code.
- Loading branch information
Showing
4 changed files
with
66 additions
and
10 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
Binary file added
BIN
+1.97 KB
...es/src/main/resources/visualtest/expected/issue-429-break-word-lots-of-short-and-long.pdf
Binary file not shown.
19 changes: 19 additions & 0 deletions
19
...mples/src/main/resources/visualtest/html/issue-429-break-word-lots-of-short-and-long.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,19 @@ | ||
<html> | ||
<head> | ||
<style> | ||
@page { | ||
size: 160px 300px; | ||
margin: 0; | ||
} | ||
body { | ||
margin: 10px 30px; | ||
border: 1px solid red; | ||
word-wrap: break-word; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
This isaverylotof words someofwhichwill fitontheline others whichwillnot all | ||
intheoneparagraph. Soletscelebratelongwords and short words thatfitsomewhere. | ||
</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