diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-09-22 10:59:29 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-09-22 13:43:59 +0200 |
commit | ddf695db44bcb23dc2f1459fd439f93c0b6d5f2a (patch) | |
tree | 6aab04eba98b423b424db3ca878ab8bc9d2839a7 /svgio/qa/cppunit/data | |
parent | cde237f7612cc34b1a7e46b83507877754b8e921 (diff) |
tdf#151118: svg: fix handling of xml:space="preserve"
This allows the code to be simplified a bit
Change-Id: If42dd9d3ebd7860ece9ff78cb090ff1b07e1b432
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140404
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/qa/cppunit/data')
-rw-r--r-- | svgio/qa/cppunit/data/textXmlSpace.svg | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/svgio/qa/cppunit/data/textXmlSpace.svg b/svgio/qa/cppunit/data/textXmlSpace.svg new file mode 100644 index 000000000000..606e2eb7a306 --- /dev/null +++ b/svgio/qa/cppunit/data/textXmlSpace.svg @@ -0,0 +1,12 @@ +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" + viewBox="0 0 250 250"> + <text y="10" xml:space="default">a b</text> + <text y="30" xml:space="default">a b</text> + <text y="50" xml:space="default">a + b</text> + <text y="70" xml:space="preserve">a b</text> + <text y="90" xml:space="preserve">a b</text> + <text y="110" xml:space="preserve">a + b</text> +</svg> + |