diff options
Diffstat (limited to 'tests/data')
| -rw-r--r-- | tests/data/refs/imagemap__--maptype__HTML__target__svg.out | 2 | ||||
| -rw-r--r-- | tests/data/svg/target.svg | 8 |
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> |
