diff --git a/openhtmltopdf-examples/src/main/resources/visualtest/html/table-fine-lines.html b/openhtmltopdf-examples/src/main/resources/visualtest/html/table-fine-lines.html new file mode 100644 index 000000000..f8cc90ae1 --- /dev/null +++ b/openhtmltopdf-examples/src/main/resources/visualtest/html/table-fine-lines.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + +
+ + diff --git a/openhtmltopdf-examples/src/test/java/com/openhtmltopdf/visualregressiontests/VisualRegressionTest.java b/openhtmltopdf-examples/src/test/java/com/openhtmltopdf/visualregressiontests/VisualRegressionTest.java index 64f9f34ce..7ddf9d69a 100644 --- a/openhtmltopdf-examples/src/test/java/com/openhtmltopdf/visualregressiontests/VisualRegressionTest.java +++ b/openhtmltopdf-examples/src/test/java/com/openhtmltopdf/visualregressiontests/VisualRegressionTest.java @@ -581,6 +581,15 @@ public void testRtlPageOverflowHiddenHidden() throws IOException { assertTrue(vt.runTest("rtl-page-overflow-hidden-hidden")); } + /** + * Tests that tds with a background-color do not have fine lines between them. Issues: 291 and 169. + */ + @Test + @Ignore // Fine lines appear between tds. + public void testTableFineLines() throws IOException { + assertTrue(vt.runTest("table-fine-lines")); + } + // TODO: // + Elements that appear just on generated overflow pages. Especially inline-block. // + content property (page counters, etc)