summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/983985-2-ref.html
blob: 732bd1c8170de89aeb0af3bb9486805468b2ef97 (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 <em>&#x530;</em> world
</div>
</div>
</body>
</html>