Skip to content

Commit 65a2f71

Browse files
committed
Add new ignored tests for vertical alignment of inline blocks
DEVSIX-1750
1 parent 2231c4a commit 65a2f71

File tree

4 files changed

+50
-10
lines changed

4 files changed

+50
-10
lines changed

src/test/java/com/itextpdf/html2pdf/css/VerticalAlignmentTest.java

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,13 @@ This file is part of the iText (R) project.
4343
package com.itextpdf.html2pdf.css;
4444

4545
import com.itextpdf.html2pdf.ExtendedHtmlConversionITextTest;
46-
import com.itextpdf.html2pdf.HtmlConverter;
47-
import com.itextpdf.io.util.UrlUtil;
48-
import com.itextpdf.kernel.utils.CompareTool;
4946
import com.itextpdf.test.annotations.type.IntegrationTest;
50-
51-
import java.io.File;
52-
import java.io.IOException;
53-
54-
import org.junit.Assert;
5547
import org.junit.BeforeClass;
5648
import org.junit.Ignore;
5749
import org.junit.Test;
5850
import org.junit.experimental.categories.Category;
5951

60-
import static com.itextpdf.test.ITextTest.createOrClearDestinationFolder;
52+
import java.io.IOException;
6153

6254
@Category(IntegrationTest.class)
6355
public class VerticalAlignmentTest extends ExtendedHtmlConversionITextTest {
@@ -120,11 +112,29 @@ public void verticalAlignmentTest10() throws IOException, InterruptedException {
120112
public void verticalAlignmentTest11() throws IOException, InterruptedException {
121113
convertToPdfAndCompare("verticalAlignmentTest11", sourceFolder, destinationFolder);
122114
}
123-
115+
124116
@Test
125117
public void verticalAlignmentTest12() throws IOException, InterruptedException {
126118
convertToPdfAndCompare("verticalAlignmentTest12", sourceFolder, destinationFolder);
127119
}
120+
121+
@Test
122+
@Ignore("DEVSIX-1750")
123+
public void verticalAlignmentTest13() throws IOException, InterruptedException {
124+
convertToPdfAndCompare("verticalAlignmentTest13", sourceFolder, destinationFolder);
125+
}
126+
127+
@Test
128+
@Ignore("DEVSIX-1750")
129+
public void verticalAlignmentTest14() throws IOException, InterruptedException {
130+
convertToPdfAndCompare("verticalAlignmentTest14", sourceFolder, destinationFolder);
131+
}
132+
133+
@Test
134+
@Ignore("DEVSIX-1750")
135+
public void verticalAlignmentTest15() throws IOException, InterruptedException {
136+
convertToPdfAndCompare("verticalAlignmentTest15", sourceFolder, destinationFolder);
137+
}
128138

129139
@Test
130140
public void verticalAlignmentCellTest01() throws IOException, InterruptedException {
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<body>
4+
5+
<div>
6+
<input type="checkbox" style="margin: 10px"/>abc
7+
</div>
8+
9+
</body>
10+
</html>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<body>
4+
5+
<div>
6+
<input type="checkbox" style="margin: 10px; vertical-align: top"/>abc
7+
</div>
8+
9+
</body>
10+
</html>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<body>
4+
5+
<div>
6+
<input type="checkbox" style="margin: 10px; vertical-align: bottom"/>abc
7+
</div>
8+
9+
</body>
10+
</html>

0 commit comments

Comments
 (0)