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
21 lines
360 B
HTML
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>
|