Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / svg / custom / font-face-simple.svg
blob394d5de97d5ab968443c52a01b50a37f0aac3018
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <style type="text/css" media="all">
3 /* These rules intentionally use 'incorrect' fallback families
4 So that if the font-face defined font can't be found the test fails. */
5 #csstest {
6 font: 2.3cm "csstest", cursive;
8 #svgtest {
9 font: 2.3cm "svgtest", fantasy;
11 @font-face {
12 font-family: "csstest";
13 src: local("Courier");
15 </style>
16 <defs>
17 <font-face id="test" font-family="svgtest">
18 <font-face-src>
19 <font-face-name name="Courier" />
20 </font-face-src>
21 </font-face>
22 </defs>
23 <text id="csstest" x="10" y="3cm">CSS font-face</text>
24 <text id="svgtest" x="10" y="6cm">SVG font-face</text>
25 <text x="40" y="7cm">The fonts used above should be identical</text>
26 </svg>