text-white-space-01-ref.svg 634 B

123456789101112131415
  1. <!--
  2. Any copyright is dedicated to the Public Domain.
  3. http://creativecommons.org/publicdomain/zero/1.0/
  4. -->
  5. <svg xmlns="http://www.w3.org/2000/svg"
  6. xmlns:h="http://www.w3.org/1999/xhtml">
  7. <title>Reference to check xml:space mapping to white-space for foreignObject</title>
  8. <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=828962 -->
  9. <text x="10" y="20">A&#160;&#160;&#160;&#160;B</text>
  10. <foreignObject x="10" y="40" width="100" height="100"><h:p>A&#160;B</h:p></foreignObject>
  11. <foreignObject x="10" y="140" width="100" height="100"><h:p>A&#160;&#160;&#160;&#160;B<h:br/>C</h:p></foreignObject>
  12. </svg>