blob: 7e9f96fb8c7d4f3e116af6d7e7e25e4e78cb7328 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
</head>
<body>
This test makes sure that small-caps of web fonts work regardless of whether
the web font is supplied in SVG or in CSS.
<svg width="500px" height="40px">
<defs>
<font-face font-family="DroidSans">
<font-face-src>
<font-face-uri xlink:href="../writing-mode/resources/DroidSansFallback-reduced.ttf" format="truetype"/>
</font-face-src>
</font-face>
</defs>
<text font-family="DroidSans" x="0" y="16" font-variant="normal">This is some text</text>
<text font-family="DroidSans" x="0" y="32" font-variant="small-caps">This is some text</text>
</svg>
<div style="font-family: DroidSans; font-variant: small-caps;">This is some text</div>
<div style="font-family: DroidSans;">This is some text</div>
</body>
</html>