aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/refs/imagemap__--maptype__HTML__transform__svg.out2
-rw-r--r--tests/data/svg/transform.svg10
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/data/refs/imagemap__--maptype__HTML__transform__svg.out b/tests/data/refs/imagemap__--maptype__HTML__transform__svg.out
new file mode 100644
index 0000000..1c66e47
--- /dev/null
+++ b/tests/data/refs/imagemap__--maptype__HTML__transform__svg.out
@@ -0,0 +1,2 @@
+<area shape=poly coords=0,0,50,50,100,50,50,0 href=http://example.com/1>
+<area shape=poly coords=0,50,50,100,100,100,50,50 href=http://example.com/2>
diff --git a/tests/data/svg/transform.svg b/tests/data/svg/transform.svg
new file mode 100644
index 0000000..001e2c3
--- /dev/null
+++ b/tests/data/svg/transform.svg
@@ -0,0 +1,10 @@
+<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/1">
+ <rect x="0" y="0" width="50" height="50" transform="skewX(45)"/>
+ </a>
+ <g transform="skewX(45)">
+ <a xlink:href="http://example.com/2">
+ <rect x="-50" y="50" width="50" height="50"/>
+ </a>
+ </g>
+</svg>