diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/svg/path/closepath | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/svg/path/closepath')
-rw-r--r-- | testing/web-platform/tests/svg/path/closepath/segment-completing-ref.svg | 10 | ||||
-rw-r--r-- | testing/web-platform/tests/svg/path/closepath/segment-completing.svg | 16 |
2 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/path/closepath/segment-completing-ref.svg b/testing/web-platform/tests/svg/path/closepath/segment-completing-ref.svg new file mode 100644 index 0000000000..cc068cefe3 --- /dev/null +++ b/testing/web-platform/tests/svg/path/closepath/segment-completing-ref.svg @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" + width="300" height="200"> + <style> + path { + stroke: blue; + } + </style> + <path d="M 10 10 z m 20 70 h 10 v 10 h -10 l 0 -10 M 70 30 q 20 0 20 20 t -20 20 t -20 -20 T 70 30" /> +</svg> diff --git a/testing/web-platform/tests/svg/path/closepath/segment-completing.svg b/testing/web-platform/tests/svg/path/closepath/segment-completing.svg new file mode 100644 index 0000000000..5b72c494b3 --- /dev/null +++ b/testing/web-platform/tests/svg/path/closepath/segment-completing.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" + xmlns:h="http://www.w3.org/1999/xhtml" + width="300" height="200"> + <metadata> + <h:link rel="help" href="https://svgwg.org/svg2-draft/single-page.html#paths-PathDataClosePathCommand"/> + <h:link rel="match" href="segment-completing-ref.svg"/> + <h:meta name="assert" content="initial subpath point used to complete segment."/> + </metadata> + <style> + path { + stroke: blue; + } + </style> + <path d="M 10 10 z m 20 70 h 10 v 10 h -10 l z M 70 30 q 20 0 20 20 t -20 20 t -20 -20 T z" /> +</svg> |