summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/983985-2.html
blob: 39a88428f02e1b76e649c3992453215931ffda00 (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
27
28
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 983985</title>
<style>
@font-face {
  font-family: test;
  src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
}
.outer {
  font: italic 36px test;
  width: 2.5em; /* enough to display "hello" but not the hexbox */
  overflow: hidden;
}
.inner {
  width: 10em;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner">
hello &#x530; world
</div>
</div>
</body>
</html>