27 lines
1.6 KiB
XML
27 lines
1.6 KiB
XML
<?xml version="1.0" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
|
|
<svg version="1.1" baseProfile="basic" id="svg-root" width="100%" height="100%"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns="http://www.w3.org/2000/svg">
|
|
<defs>
|
|
<text id="ReferencedText">
|
|
Referenced character data
|
|
</text>
|
|
<path id="path1" d="M 100 150 L 150 140 L 200 150"/>
|
|
<font id="Font1" horiz-adv-x="5">
|
|
<font-face font-family="HappySad" font-weight="bold" font-style="normal" units-per-em="8" cap-height="8" x-height="4" ascent="8" descent="2" alphabetic="0" mathematical="4" ideographic="-2" hanging="8"/>
|
|
<missing-glyph d="M1,3h2v2h-2z"/>
|
|
<glyph id="A1" d="M0,0 L2,8 L4,0 M0,4 C1,3 3,3 4,4"/>
|
|
</font>
|
|
<altGlyphDef id="Asmile">
|
|
<glyphRef xlink:href="#A1"/>
|
|
</altGlyphDef>
|
|
</defs>
|
|
<text x="100" y="50"><a xlink:href="http://www.webkit.org"><tspan>tspan in link</tspan></a></text>
|
|
<text x="100" y="100"><a xlink:href="http://www.webkit.org"><tref xlink:href="#ReferencedText">tref in link</tref></a></text>
|
|
<text><a xlink:href="http://www.webkit.org"><textPath xlink:href="#path1">textPath in link</textPath></a></text>
|
|
<text x="100" y="200"><a xlink:href="http://www.webkit.org"><altGlyph xlink:href="#Asmile">A</altGlyph>ltGlyph content</a></text>
|
|
<text x="100" y="250"><tspan><a xlink:href="http://www.webkit.org"><tspan>tspan in link in tspan</tspan></a></tspan></text>
|
|
<text x="100" y="300"><a xlink:href="http://www.webkit.org"><a>This should not be rendered</a></a></text>
|
|
</svg>
|