aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out6
-rw-r--r--tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out2
-rw-r--r--tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out2
-rw-r--r--tests/data/svg/enclave.svg8
4 files changed, 16 insertions, 2 deletions
diff --git a/tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out b/tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out
new file mode 100644
index 0000000..611ef39
--- /dev/null
+++ b/tests/data/refs/imagemap__--maptype__HTML__enclave__svg.out
@@ -0,0 +1,6 @@
+<area shape=rect coords=40,40,60,60 href=http://example.com/1>
+<area shape=rect coords=30,30,70,70>
+<area shape=rect coords=20,20,80,80 href=http://example.com/1>
+<area shape=rect coords=140,40,160,60 href=http://example.com/2>
+<area shape=rect coords=130,30,170,70>
+<area shape=rect coords=120,20,180,80 href=http://example.com/2>
diff --git a/tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out b/tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out
index cab9492..5af12ea 100644
--- a/tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out
+++ b/tests/data/refs/imagemap__--maptype__HTML__intersect__svg.out
@@ -1,2 +1,2 @@
-<area shape=poly coords=60,40,60,60,40,60,40,80,80,80,80,40 href=http://example.com>
<area shape=poly coords=20,20,20,60,40,60,40,40,60,40,60,20 href=http://example.com>
+<area shape=poly coords=60,40,60,60,40,60,40,80,80,80,80,40 href=http://example.com>
diff --git a/tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out b/tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out
index 8f8d95d..de38166 100644
--- a/tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out
+++ b/tests/data/refs/imagemap__--maptype__HTML__overlap__svg.out
@@ -1,4 +1,4 @@
-<area shape=poly coords=30,40,30,70,60,70,60,60,40,60,40,40 href=http://example.com/1>
<area shape=poly coords=30,10,30,30,40,30,40,20,80,20,80,60,70,60,70,70,90,70,90,10 href=http://example.com/1>
+<area shape=poly coords=30,40,30,70,60,70,60,60,40,60,40,40 href=http://example.com/1>
<area shape=rect coords=20,40,60,80>
<area shape=rect coords=10,30,70,90 href=http://example.com/2>
diff --git a/tests/data/svg/enclave.svg b/tests/data/svg/enclave.svg
new file mode 100644
index 0000000..db8d777
--- /dev/null
+++ b/tests/data/svg/enclave.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">
+ <path d="M20 20H80V80H20M30 30V70H70V30M40 40H60V60H40"/>
+ </a>
+ <a xlink:href="http://example.com/2">
+ <path d="M140 40H160V60H140M130 30V70H170V30M120 20H180V80H120"/>
+ </a>
+</svg>