ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Text > text-whiteSpace-BE-06


File: text-whiteSpace-BE-06
Author: Lofton Henderson
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style |
pathd | style |
rectheight | id | style | width | x | y |
svgheight | id | width |
textstyle | x | xml:space | y |
titleid |

Source

<svg id="svg-root" width="450" height="450" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <title id="test-title">text-whiteSpace-BE-06</title>
     <desc id="test-desc">Test that viewer correctly handle whitespace and the "space" attribute.</desc>
     <g id="test-body-content">
          <text x="75" y="20" style="fill:black;font-size:10;font-family:Verdana;fill:black;">Basic test of xml:space attribute & whitespace handling.</text>
          <text x="25" y="75" style="fill:blue;font-size:12;font-family:helvetica;" xml:space="default">WS example with indented lines.</text>
          <text x="25" y="90" style="fill:black;font-size:12;font-family:helvetica;">WS example with indented lines.</text>
          <rect x="25" y="100" width="100" height="12" style="fill:none;stroke:black;"/>
          <text x="28" y="110" style="fill:black;font-size:10;font-family:helvetica;">xml:space='default'</text>
          <text x="25" y="155" style="fill:blue;font-size:12;font-family:helvetica;" xml:space="default"> WS example non-indented lines. </text>
          <text x="25" y="170" style="fill:black;font-size:12;font-family:helvetica;">WS examplenon-indented lines.</text>
          <rect x="25" y="180" width="100" height="12" style="fill:none;stroke:black;"/>
          <text x="28" y="190" style="fill:black;font-size:10;font-family:helvetica;">xml:space='default'</text>
          <text x="25" y="235" style="fill:blue;font-size:12;font-family:helvetica;" xml:space="preserve"> WS example with indented lines. </text>
          <text x="25" y="250" style="fill:black;font-size:12;font-family:helvetica;" xml:space="preserve">                  WS example    with                   indented lines.</text>
          <rect x="25" y="260" width="100" height="12" style="fill:none;stroke:black;"/>
          <text x="28" y="270" style="fill:black;font-size:10;font-family:helvetica;">xml:space='preserve'</text>
          <text x="25" y="315" style="fill:blue;font-size:12;font-family:helvetica;" xml:space="preserve">WS example non-indented lines. </text>
          <text x="25" y="330" style="fill:black;font-size:12;font-family:helvetica;">WS example non-indented lines.</text>
          <rect x="25" y="340" width="100" height="12" style="fill:none;stroke:black;"/>
          <text x="28" y="350" style="fill:black;font-size:10;font-family:helvetica;">xml:space='preserve'</text>
     </g>
     <g id="test-legend" style="fill:black;font-family:Helvetica;font-size:10;">
          <rect x="10" y="390" width="275" height="50" style="fill:none;stroke:#000000;"/>
          <path style="fill:none;stroke:#000000;" d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
          <text x="25" y="401">Scalable Vector Graphics (SVG) Conformance Suite</text>
          <a xlink:href="copyright-documents-19990405.html">
               <text x="12" y="437" style="fill:blue;">Copyright 2000 W3C. All Rights Reserved.</text>
          </a>
          <text style="font-size:12;" x="35" y="420">text-whiteSpace-BE-06</text>
          <text style="font-size:10;" x="210" y="417">$Revision: 1.1 $</text>
          <text style="font-size:10;" x="210" y="435">Release 2.0</text>
          <rect id="test-frame" x="1" y="1" width="448" height="448" style="fill:none;stroke:#000000;"/>
     </g>
</svg>



Sponsored links: conference call service, VoIP Internettelefonie, DSL, SDSL, ADSL, answering service