-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
74 additions
and
22 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
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
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
Binary file added
BIN
+1.06 KB
...itext.html2pdf.tests/resources/itext/html2pdf/css/DisplayFlexTest/cmp_displayNoneTest.pdf
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
...ts/itext.html2pdf.tests/resources/itext/html2pdf/css/DisplayFlexTest/displayNoneTest.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 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<style> | ||
*[parent]:not([parent~="z"]) { | ||
display: flex; | ||
} | ||
*[child1]:not([child1~="z"]) { | ||
display: none; | ||
} | ||
*[child2]:not([child2~="z"]) { | ||
display: block; | ||
} | ||
</style> | ||
<meta charset="UTF-8"> | ||
<title>Title</title> | ||
</head> | ||
<body> | ||
<div class="fieldLabel" parent="v"> FlexParent | ||
<div class="fieldLabe2" child1="w"> , NoneChild </div> | ||
<div class="fieldLabe2" child2="x"> , BlockChild </div> | ||
</div> | ||
<div class="fieldLabe3"> NoneChild should be unvisible </div> | ||
</body> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/MarginTest/autoMargin.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,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
</head> | ||
<body> | ||
<div style="background-color: blue; position: absolute"> | ||
<div style="background-color: yellow; width: 100px; margin-left: auto"> | ||
should aligned right cause of margins<br/> | ||
</div> | ||
<div style="background-color: yellow; width: 200px"> | ||
should aligned left as default | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file added
BIN
+1.11 KB
itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/MarginTest/cmp_autoMargin.pdf
Binary file not shown.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
12343b9837284da254c583d7e8ea63aeea5c4624 | ||
dabd0f95b6ce55524fa71022ff05eef9ad1f4aa9 |