summaryrefslogtreecommitdiff
path: root/tests/test_build.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-18 00:52:12 +0100
committerGeorg Brandl <georg@python.org>2009-02-18 00:52:12 +0100
commit27e20dc5f5ea2f53ead870283aa39ce6bb525b11 (patch)
treefa935820938ccc85feeb77da08515ec570aa7ea5 /tests/test_build.py
parent1d6c00ff74ea59c674918d47940c8ec3602f2fe8 (diff)
downloadsphinx-27e20dc5f5ea2f53ead870283aa39ce6bb525b11.tar.gz
SVG images are now supported in HTML (via ``<object>`` and ``<embed>`` tags).
Diffstat (limited to 'tests/test_build.py')
-rw-r--r--tests/test_build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index a8934b82..326a4bd6 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -59,6 +59,8 @@ HTML_XPATH = {
".//img[@src='_images/img.png']": '',
".//img[@src='_images/img1.png']": '',
".//img[@src='_images/simg.png']": '',
+ ".//object[@data='_images/svgimg.svg']": '',
+ ".//embed[@src='_images/svgimg.svg']": '',
},
'subdir/images.html': {
".//img[@src='../_images/img1.png']": '',