chromium/third_party/blink/web_tests/svg/custom/text-whitespace-handling.svg

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="800" height="600" viewBox="0 0 400 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g font-size="12pt">

<text x="10" y="20">Testing xml:space="default" support:</text>

<text x="10" y="40" xml:space="default">
No
Spaces
Between
Words
</text>

<text x="10" y="60" xml:space="default">Tabs	become	spaces</text>
<text x="10" y="80" xml:space="default">    No leading space</text>
<text x="10" y="100" xml:space="default">No trailing space   </text>
<text x="10" y="120" xml:space="default">Whitespace      is        simplified</text>

<text x="10" y="160">Testing xml:space="preserve" support:</text>

<text x="10" y="180" xml:space="preserve">
Newlines
Become
Spaces
</text>

<text x="10" y="200" xml:space="preserve">Tabs	become	spaces</text>
<text x="10" y="220" xml:space="preserve">    Respect leading space</text>
<text x="10" y="240" xml:space="preserve">Respect trailing space   </text>
<text x="10" y="260" xml:space="preserve">Whitespace      is not        simplified</text>

</g>
</svg>