summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/path/distance/reference
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/svg/path/distance/reference
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/svg/path/distance/reference')
-rw-r--r--testing/web-platform/tests/svg/path/distance/reference/pathlength-path-mutating-ref.svg5
-rw-r--r--testing/web-platform/tests/svg/path/distance/reference/pathlength-path-negative-ref.svg5
-rw-r--r--testing/web-platform/tests/svg/path/distance/reference/pathlength-path-ref.svg5
-rw-r--r--testing/web-platform/tests/svg/path/distance/reference/pathlength-path-zero-ref.svg4
-rw-r--r--testing/web-platform/tests/svg/path/distance/reference/pathlength-rect-mutating-ref.svg3
-rw-r--r--testing/web-platform/tests/svg/path/distance/reference/pathlength-rect-ref.svg5
6 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-mutating-ref.svg b/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-mutating-ref.svg
new file mode 100644
index 0000000000..fe45125f6b
--- /dev/null
+++ b/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-mutating-ref.svg
@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <title>Mutating the 'pathLength' attribute ('path' element; reference)</title>
+ <path d="M100,100h100v100h-100z" fill="none" stroke="blue"
+ stroke-width="20" stroke-dasharray="50"/>
+</svg>
diff --git a/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-negative-ref.svg b/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-negative-ref.svg
new file mode 100644
index 0000000000..c4dfb1b2b5
--- /dev/null
+++ b/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-negative-ref.svg
@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <title>The 'pathLength' attribute set to a negative value ('path' element; reference)</title>
+ <path d="M10,10L110,10L110,110L10,110Z" stroke-dashoffset="1" stroke-dasharray="1 1"
+ fill="none" stroke="black" stroke-width="10"></path>
+</svg>
diff --git a/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-ref.svg b/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-ref.svg
new file mode 100644
index 0000000000..79aca87204
--- /dev/null
+++ b/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-ref.svg
@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <title>The 'pathLength' attribute ('path' element; reference)</title>
+ <path d="M10,10L110,10L110,110L10,110Z" stroke-dashoffset="100" stroke-dasharray="100 100"
+ fill="none" stroke="black" stroke-width="10"></path>
+</svg>
diff --git a/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-zero-ref.svg b/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-zero-ref.svg
new file mode 100644
index 0000000000..232bf66cbc
--- /dev/null
+++ b/testing/web-platform/tests/svg/path/distance/reference/pathlength-path-zero-ref.svg
@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <title>The 'pathLength' attribute set to zero ('path' element; reference)</title>
+ <path d="M10,10L110,10L110,110L10,110Z" fill="none" stroke="black" stroke-width="10"/>
+</svg>
diff --git a/testing/web-platform/tests/svg/path/distance/reference/pathlength-rect-mutating-ref.svg b/testing/web-platform/tests/svg/path/distance/reference/pathlength-rect-mutating-ref.svg
new file mode 100644
index 0000000000..120941444a
--- /dev/null
+++ b/testing/web-platform/tests/svg/path/distance/reference/pathlength-rect-mutating-ref.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <rect width="100" height="100" fill="green"/>
+</svg>
diff --git a/testing/web-platform/tests/svg/path/distance/reference/pathlength-rect-ref.svg b/testing/web-platform/tests/svg/path/distance/reference/pathlength-rect-ref.svg
new file mode 100644
index 0000000000..232178d732
--- /dev/null
+++ b/testing/web-platform/tests/svg/path/distance/reference/pathlength-rect-ref.svg
@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <title>The 'pathLength' attribute ('rect' element; reference)</title>
+ <rect width="50" height="50" fill="blue"
+ stroke-dashoffset="50" stroke-dasharray="50 50" stroke="black" stroke-width="10"/>
+</svg>