Skip to content

Commit 586e3e3

Browse files
committed
SVG: add tests for text-decoration inheritance
DEVSIX-8888
1 parent 862fac8 commit 586e3e3

File tree

8 files changed

+324
-2
lines changed

8 files changed

+324
-2
lines changed

svg/src/test/java/com/itextpdf/svg/renderers/impl/MarkerSvgNodeRendererIntegrationTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,6 @@ public void deformationWhenRotationAndPreserveAspectRationNoneTest() throws IOEx
312312
}
313313

314314
@Test
315-
// TODO DEVSIX-4130 fix after ticket will be completed
316-
// Compare with Chrome browser
317315
public void markerParentElementTest() throws IOException, InterruptedException {
318316
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "markerParentElement");
319317
}

svg/src/test/java/com/itextpdf/svg/renderers/impl/TSpanNodeRendererIntegrationTest.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,24 @@ public void textDecorationTspanTest() throws IOException, InterruptedException {
321321
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "textDecorationTspan");
322322
}
323323

324+
@Test
325+
// TODO DEVSIX-8888 SVG: support text-decoration inheritance
326+
public void textDecorationOnGroupTest() throws IOException, InterruptedException {
327+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "textDecorationOnGroup");
328+
}
329+
330+
@Test
331+
// TODO DEVSIX-8888 SVG: support text-decoration inheritance
332+
public void textDecorationOnSvgTest() throws IOException, InterruptedException {
333+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "textDecorationOnSvg");
334+
}
335+
336+
@Test
337+
// TODO DEVSIX-8888 SVG: support text-decoration inheritance
338+
public void textDecorationOnSymbolTest() throws IOException, InterruptedException {
339+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "textDecorationOnSymbol");
340+
}
341+
324342
@Test
325343
public void textDecorationTspanSubTest() throws IOException, InterruptedException {
326344
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "textDecorationTspanSub");
Lines changed: 94 additions & 0 deletions
Loading
Lines changed: 96 additions & 0 deletions
Loading
Lines changed: 116 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)