summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-matching/arial-arabic.html
blob: 5f363ca261db85a25766f2a8e0b31c8289632714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 769475 - test for italicized Arabic script in Arial</title>
<style type="text/css">
body {
  font-family: arial, serif;
  font-size: 36px;
  line-height: 72px;
}
span {
  font-style: italic;
  color: white;
}
</style>
</head>
<body lang="ar">
<!-- the white span should have the same width whether it's italicized or not,
  -- as Arial does not have Arabic characters in the italic face but we should
  -- apply synthetic italic to the regular face, NOT fall back to a different
  -- family from prefs.
  -->
<div>العربي <span>العربي</span> العربي</div>
</body>
</html>