diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2014-10-20 19:13:50 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2014-10-20 19:13:50 +0200 |
commit | 392359c5413e2a824699625ee9174bb1a6eb8a71 (patch) | |
tree | ebd567f87acf54e14746faceb7b4fdac98baa60b /tests | |
parent | 35d967c954245e313017a1cab97ce7ee9f08b3a8 (diff) | |
parent | 9f1c31c8a3cfd0f341987e8011abad172592dd3c (diff) | |
download | qtsvg-392359c5413e2a824699625ee9174bb1a6eb8a71.tar.gz |
Merge remote-tracking branch 'origin/5.4' into dev
Change-Id: I521c0f85547f8a3272d201e2c7d48341bbf9034c
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp b/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp index 9d66b3d..5253a3d 100644 --- a/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp +++ b/tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp @@ -612,6 +612,15 @@ void tst_QSvgRenderer::gradientRefs() "<linearGradient id=\"gradient\" xlink:href=\"#gradient0\">" "</linearGradient>" "</defs>" + "</svg>", + "<svg>" + "<defs>" + "<linearGradient xlink:href=\"#0\" id=\"0\">" + "<stop offset=\"0\" stop-color=\"red\" stop-opacity=\"0\"/>" + "<stop offset=\"1\" stop-color=\"blue\"/>" + "</linearGradient>" + "</defs>" + "<rect fill=\"url(#0)\" height=\"8\" width=\"256\" x=\"0\" y=\"0\"/>" "</svg>" }; for (size_t i = 0 ; i < sizeof(svgs) / sizeof(svgs[0]) ; ++i) |