summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-04-27 03:03:49 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-04-27 03:03:49 +0200
commit7e7ed705efc51134b27820d76beceefc62ab0b3d (patch)
tree607747cdb8255d96dd5b122fd524d1ffa5aa4f4b /tests/auto
parent47c04fb6303e3b812ab12f69e17fb6acae0c49ec (diff)
parent6292c75fb742f2877630ec22fb3a9b0d3afc9a96 (diff)
downloadqtsvg-7e7ed705efc51134b27820d76beceefc62ab0b3d.tar.gz
Merge remote-tracking branch 'origin/5.12' into 5.13
Change-Id: I4a7a5ad6cd164f0d440217566bd647ecde4fddfb
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp b/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
index aa07554..e0646f2 100644
--- a/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
+++ b/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp
@@ -1423,6 +1423,16 @@ void tst_QSvgRenderer::testUseElement()
" <circle fill=\"#a6ce39\" cx=\"0\" cy=\"0\" r=\"33\" />"
" </g>"
" </defs>"
+ "</svg>",
+ // 17 - Indirect self referral
+ "<svg>"
+ " <defs>"
+ " <g id=\"g0\">"
+ " <g id=\"g1\"><use href=\"#g2\"/></g>"
+ " <g id=\"g2\"><use href=\"#g1\"/></g>"
+ " </g>"
+ " </defs>"
+ " <use xlink:href=\"#g0\" fill=\"black\"/>"
"</svg>"
};