diff options
Diffstat (limited to 'tests/data/svg')
| -rw-r--r-- | tests/data/svg/image.svg | 6 | ||||
| -rw-r--r-- | tests/data/svg/rect.svg | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/tests/data/svg/image.svg b/tests/data/svg/image.svg new file mode 100644 index 0000000..e0d62d4 --- /dev/null +++ b/tests/data/svg/image.svg @@ -0,0 +1,6 @@ +<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <!-- Transparent areas of the image should remain part of the link. --> + <a xlink:href="http://example.com"> + <image x="25" y="25" width="50" height="50" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAQAAADYv8WvAAAADUlEQVR42mMAgv9gBAAJAQH/66EXCgAAAABJRU5ErkJggg==" image-rendering="optimizeSpeed"/> + </a> +</svg> diff --git a/tests/data/svg/rect.svg b/tests/data/svg/rect.svg deleted file mode 100644 index 445e6e0..0000000 --- a/tests/data/svg/rect.svg +++ /dev/null @@ -1,5 +0,0 @@ -<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <a xlink:href="http://example.com"> - <rect x="25" y="25" width="50" height="50"/> - </a> -</svg> |
