font-language-override-01.html (776B)
1 <!DOCTYPE HTML> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>CSS Test: font-language-override</title> 6 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"/> 7 <link rel="help" href="https://drafts.csswg.org/css-fonts/#font-language-override-prop"/> 8 <link rel="match" href="font-language-override-01-ref.html"/> 9 <meta name="assert" content="the specified OpenType language system should be used"/> 10 <style> 11 @font-face { 12 font-family: Libertine; 13 src: url(support/fonts/LinLibertine_Re-4.7.5.woff); 14 } 15 body { 16 font-family: sans-serif; 17 } 18 div { 19 margin: 1em; 20 font: 32px Libertine; 21 } 22 .test { 23 font-language-override: "TRK"; 24 } 25 </style> 26 </head> 27 <body> 28 <p>Test passes if the "fi" below does NOT form a ligature: 29 <div class=test>fi</div> 30 </body> 31 </html>