3 @import url('../../resources/opensans/OpenSans-Regular.woff') format('woff');
5 font-family: "testFreeSansSvg";
6 src: url("resources/SVGFreeSans.svg") format("svg");
8 #test1SvgFontFirstNoFallback {
9 font-family: "testFreeSansSvg";
11 #test2SvgFontSecondNoFallback {
12 font-family: "doesnotexistfont", "testFreeSansSvg";
14 #test3SvgFontSecondWithFallback {
15 font-family: "doesnotexistfont", "testFreeSansSvg", "doesnotexistfont2", Verdana;
17 #test4SvgFontWithFallback {
18 font-family: "testFreeSansSvg", "test2SVGFreeSansASCII", "doesnotexistfont2", "Open Sans";
21 crbug.com/242735: This test passes if no SVG fonts are used.
24 <div>This text should use the default font.</div>
25 <div id="test1SvgFontFirstNoFallback">This text should use the default font.</div>
29 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="12pt">
30 <text y="12pt">This text should use the default font.</text>
32 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="12pt">
34 <font-face font-family="test2SVGFreeSansASCII" unicode-range="U+0-7F">
36 <font-face-uri xlink:href="resources/SVGFreeSans.svg#ascii"/>
40 <text y="12pt" font-family="test2SVGFreeSansASCII">This text should use the default font.</text>
45 <div>This text should use the default font.</div>
46 <div id="test2SvgFontSecondNoFallback">This text should use the default font.</div>
50 <div style="font-family: Verdana;">This text should use Verdana.</div>
51 <div id="test3SvgFontSecondWithFallback">This text should use Verdana.</div>
55 <div style="font-family: Open Sans;">This text should use Open Sans.</div>
56 <div id="test4SvgFontWithFallback">This text should use Open Sans.</div>