Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/testing/web-platform/tests/svg/linking/reftests/url-processing-whitespace-002.svg
<title>Leading and trailing whitespace is stripped from (local) URL references (&#x3c;use&#x3e; href)</title>
<html:link rel="match" href="reference/green-100x100.svg"/>
<defs>
<rect id="green" width="50" height="50" fill="green"/>
<rect id="red" width="50" height="50" fill="red"/>
</defs>
<rect width="100" height="100" fill="red"/>
<use href=" #green"/>
<use href="#green " x="50"/>
<use href=" #green " y="50"/>
<g transform="translate(50 50)">
<rect id="green" width="50" height="50" fill="green"/>
<use href=" # red "/>
</g>
</svg>