aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorViatrix2026-03-15 20:50:07 -0700
committerViatrix2026-03-15 20:50:07 -0700
commitfbcbb4eff55d0703f9fee526e5caea4744e931f7 (patch)
treecbf246a465fda28f39e4f04e8032ac639dcc9de6 /tests/data
parent57aa116144d51783a12bb288554dd69846706386 (diff)
Target attribute (and others) now work.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/refs/imagemap__--maptype__HTML__target__svg.out2
-rw-r--r--tests/data/svg/target.svg8
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/data/refs/imagemap__--maptype__HTML__target__svg.out b/tests/data/refs/imagemap__--maptype__HTML__target__svg.out
new file mode 100644
index 0000000..e26d4d1
--- /dev/null
+++ b/tests/data/refs/imagemap__--maptype__HTML__target__svg.out
@@ -0,0 +1,2 @@
+<area shape=rect coords=25,25,75,75 href=http://example.com/1 target=_top>
+<area shape=rect coords=125,25,175,75 href=http://example.com/2 target=_blank>
diff --git a/tests/data/svg/target.svg b/tests/data/svg/target.svg
new file mode 100644
index 0000000..ed54e7c
--- /dev/null
+++ b/tests/data/svg/target.svg
@@ -0,0 +1,8 @@
+<svg width="200" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <a xlink:href="http://example.com/1" target="_top">
+ <rect x="25" y="25" width="50" height="50"/>
+ </a>
+ <a xlink:href="http://example.com/2" xlink:show="new">
+ <rect x="125" y="25" width="50" height="50"/>
+ </a>
+</svg>