diff options
author | Federico Mena Quintero <federico@gnome.org> | 2015-03-13 12:44:53 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2015-03-13 13:03:04 -0600 |
commit | f8d37dfb240f0ecb90a91ce534829ec7ac279071 (patch) | |
tree | 72f7607a48940c16e10c8e26ee68a03ced427421 | |
parent | 8eb0392f2041080f32830949ae22cd463bf219b7 (diff) | |
download | librsvg-f8d37dfb240f0ecb90a91ce534829ec7ac279071.tar.gz |
Add test for bgo#738367 - incorrect handling of V/v/H/h commands in path
-rw-r--r-- | tests/bugs/738367-ref.png | bin | 0 -> 4184 bytes | |||
-rw-r--r-- | tests/bugs/738367.svg | 7 | ||||
-rw-r--r-- | tests/rsvg-test.txt | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/bugs/738367-ref.png b/tests/bugs/738367-ref.png Binary files differnew file mode 100644 index 00000000..e1d0bbb4 --- /dev/null +++ b/tests/bugs/738367-ref.png diff --git a/tests/bugs/738367.svg b/tests/bugs/738367.svg new file mode 100644 index 00000000..00860a44 --- /dev/null +++ b/tests/bugs/738367.svg @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg id="svg2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 300" version="1.1"> + <path fill="#AAA" stroke="#F00" d="m100,50c100,0,100,100,0,150s-100,50,0,50z"/> + <path fill="#AAA" stroke="#F00" d="m300,50c100,0,100,100,0,150h0s-100,50,0,50z"/> + <path fill="#AAA" stroke="#F00" d="m500,50c100,0,100,100,0,150v0s-100,50,0,50z"/> + <path fill="#AAA" stroke="#F00" d="m700,50c100,0,100,100,0,150l0,0s-100,50,0,50z"/> +</svg> diff --git a/tests/rsvg-test.txt b/tests/rsvg-test.txt index 6f519a0d..ca9749e6 100644 --- a/tests/rsvg-test.txt +++ b/tests/rsvg-test.txt @@ -7,6 +7,7 @@ bugs/388545 bugs/403357 bugs/548494 bugs/563933 +bugs/738367 samples/artwork samples/butterfly samples/arrows |