Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/text-white-space-01-ref.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Reference to check xml:space mapping to white-space for foreignObject</title>
<text x="10" y="20">A&#160;&#160;&#160;&#160;B</text>
<foreignObject x="10" y="40" width="100" height="100"><h:p>A&#160;B</h:p></foreignObject>
<foreignObject x="10" y="140" width="100" height="100"><h:p>A&#160;&#160;&#160;&#160;B<h:br/>C</h:p></foreignObject>
</svg>