lang-attribute-affects-rendering-ref.html (360B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <style> 6 * { font-size: 50px } 7 8 @font-face { 9 font-family: test-font-family; 10 src: url(/fonts/Lato-Medium.ttf); 11 } 12 13 div { font-family: test-font-family; } 14 </style> 15 </head> 16 <body> 17 `lang="en"` should render ligatures, `lang="tr"` not. 18 <div lang="tr">fi</div> 19 </body> 20 </html>