Files
sousa-gecko/testing/web-platform/tests/css/css-fonts/lang-attribute-affects-rendering-ref.html
T
Stephen Chenney 0605c28138 Bug 1954504 [wpt PR 51383] - Move Lato fonts to /fonts, a=testonly
Automatic update from web-platform-tests
Move Lato fonts to /fonts (#51383)

* Move Lato fonts to /fonts

The Lato fonts are needed for language tests in html/canvas. Those
tests are generated and the generation script looks for fonts in
/fonts. So move the Lato font files there.

* Update lang-attribute-affects-rendering-ref.html

Fix one more ref

* Update lang-attribute-affects-rendering.html

Fix final test
--

wpt-commits: ec2e2302a4b28cd75581d22a32873464832a131b
wpt-pr: 51383
2025-03-18 10:41:46 +00:00

21 lines
360 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
* { font-size: 50px }
@font-face {
font-family: test-font-family;
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="tr">fi</div>
</body>
</html>