font-selection-fallback-1-ref.html (1017B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 "http://www.w3.org/TR/html4/strict.dtd"> 3 <html lang="en"> 4 <head> 5 <title>Reference for test that language support doesn't override 6 specified family - Bug 678561</title> 7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 8 <style type="text/css"> 9 10 @font-face { 11 font-family: "MarkA"; 12 src: url(../fonts/markA.ttf); 13 } 14 @font-face { 15 font-family: "MarkB"; 16 src: url(../fonts/markB.ttf); 17 } 18 @font-face { 19 font-family: "DejaVu Sans Mono"; 20 src: url(../fonts/DejaVuSansMono.otf); 21 } 22 23 .c1 { font-family: MarkA; } 24 .c2 { font-family: MarkB; } 25 .c3 { font-family: DejaVu Sans Mono; } 26 27 /* to ensure the same vertical positioning of the text */ 28 .spacer { line-height: 3em } 29 </style> 30 </head> 31 <body> 32 33 <p><span class="c1">A</span></p> 34 <p><span class="c2">B</span><span class="spacer"></span></p> 35 <p><span class="c3">C</span><span class="spacer"></span></p> 36 37 <p class="c3">A</p> 38 <p class="c3">B</p> 39 <p class="c3">C</p> 40 41 </body> 42 </html>