-
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.
#480 Test case for link shapes returned by custom object drawer.
As promised @rototor. Link shapes are working perfectly in Acrobat.
- Loading branch information
Showing
3 changed files
with
200 additions
and
1 deletion.
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
30 changes: 30 additions & 0 deletions
30
openhtmltopdf-examples/src/main/resources/visualtest/html/pr-480-link-shapes.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,30 @@ | ||
<html> | ||
<head> | ||
<style> | ||
@page { | ||
size: 700px 600px; | ||
margin: 20px 102px 40px 15px; | ||
@right-middle { | ||
content: element(right-shapes); | ||
min-width: 102px; | ||
min-height: 102px; | ||
} | ||
} | ||
object { | ||
display: block; | ||
width: 400px; | ||
height: 400px; | ||
border: 1px solid red; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<object type="shapes" style="position: running(right-shapes); width: 100px; height: 100px;"></object> | ||
|
||
<object type="shapes"></object> | ||
|
||
<div style="page-break-before: always;"></div> | ||
|
||
<object type="shapes"></object> | ||
</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