SVG
SVG copied to clipboard
Added tests concerning svg's with xml:space="preserve"
Added 2 tests concerning svg's with xml:space="preserve" enabled. Also added test for adding SvgText with null Text.
Reference Issue
Based on #817
Any other comments?
Added 3 tests. 1 passes and 2 fails.
I have not tried to fix the issues I'm testing here; just added the failing tests.
After all, test results are the same for 3.2.3 and 3.3.0.
@hakakou Please convert to draft.
Nodes
are introduced from PR #89.
Purpose seems to be to create tree with Whitespace
.
-
Nodes
are used ifxml:space="preserve"
. -
Children
andNodes
are out of sync, so issues like #817 occur.
The following W3C Tests already provide sample files:
- text-ws-01-t.svg (Test for viewer correct handling of whitespace and the 'xml:space' attribute. )
- text-ws-02-t.svg
- text-ws-03-t.svg
Also, available are
- text-align-04-b.svg
- text-deco-01-b.svg
- text-tspan-02-b.svg