font-language-override-02-ref.html (447B)
1 <!DOCTYPE HTML> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>CSS Test reference</title> 6 <style> 7 @font-face { 8 font-family: Libertine; 9 src: url(support/fonts/LinLibertine_Re-4.7.5.woff); 10 } 11 body { 12 font-family: sans-serif; 13 } 14 div { 15 margin: 1em; 16 font: 32px Libertine; 17 } 18 .ref { 19 font-feature-settings: "liga" 1; 20 } 21 </style> 22 </head> 23 <body> 24 <p>Test passes if the "fi" below DOES form a ligature: 25 <div class=ref>fi</div> 26 </body> 27 </html>