blob: 61726ee83b2b56a2479c8bf8f3450d5b767bb747 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<style type="text/css" media="all">
/* These rules intentionally use 'incorrect' fallback families
So that if the font-face defined font can't be found the test fails. */
#test {
font: 2.3cm "test", cursive;
}
@font-face {
font-family: "test";
src: local("Ahem");
}
</style>
<defs>
<font-face id="test" font-family="test">
<font-face-src>
<font-face-name name="Courier" />
</font-face-src>
</font-face>
</defs>
<text id="test" x="10" y="2cm">ONLY BLOCKS</text>
<text x="30" y="3cm">The text above should only show Ahem blocks</text>
</svg>