1
0
Fork 0
firefox/testing/web-platform/tests/css/css-fonts/lang-attribute-affects-rendering.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

24 lines
593 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="help" href="https://html.spec.whatwg.org/#attr-lang">
<link rel="mismatch" href="lang-attribute-affects-rendering-ref.html">
<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.
<div lang="en">fi</div>
</body>
</html>