diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-01-21 17:45:00 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-01-21 17:46:18 +1030 |
commit | b68583ee54324f2f52642778d6c5eee880b7dc38 (patch) | |
tree | d8ac67ec120a5efa6941a973739990476bc4e2b2 /test/svg | |
parent | 3cc9e198fdcb81ba26c47ecc95d05ed2ed72c534 (diff) | |
download | cairo-b68583ee54324f2f52642778d6c5eee880b7dc38.tar.gz |
Add test for SVG font palettes
Diffstat (limited to 'test/svg')
-rw-r--r-- | test/svg/palette.0.color0.svg | 4 | ||||
-rw-r--r-- | test/svg/palette.1.color1.svg | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/svg/palette.0.color0.svg b/test/svg/palette.0.color0.svg new file mode 100644 index 000000000..650dca898 --- /dev/null +++ b/test/svg/palette.0.color0.svg @@ -0,0 +1,4 @@ +<svg version="1.1" xmlns="http://www.w3.org/2000/svg"> + <rect x="100" y="-750" width="800" height="500" + fill="var(--color0, red)" /> +</svg> diff --git a/test/svg/palette.1.color1.svg b/test/svg/palette.1.color1.svg new file mode 100644 index 000000000..2858b35ca --- /dev/null +++ b/test/svg/palette.1.color1.svg @@ -0,0 +1,4 @@ +<svg version="1.1" xmlns="http://www.w3.org/2000/svg"> + <rect x="100" y="-750" width="800" height="500" + fill="var(--color1, blue)" /> +</svg> |