| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <style> | |
| * { font-size: 50px } | |
| @font-face { | |
| font-family: test-font-family; | |
| /* <Lato-Medium.ttf> provides different ligatures for English and | |
| Turkish. */ | |
| src: url(/fonts/Lato-Medium.ttf); | |
| } | |
| div { font-family: test-font-family; } | |
| </style> | |
| </head> | |
| <body> | |
| `lang="en"` should render ligatures, `lang="tr"` not. | |
| Different scripts should correspond to different text runs. | |
| <div lang="tr">αβ fi</div> | |
| </body> | |
| </html> | |