summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-line/font-styles-ref.html
blob: d68b28a1d0546792fb0b901829fdae98559a5e9d (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
29
<!DOCTYPE HTML>
<html>
<head>
<title>Simple first-line test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<style type="text/css">

body {
  margin: 20px;
  font-family: serif;
  font-size: 200%;
  line-height: 1.5;
  width: 400px;
}

span.sansserif {
  font-family: sans-serif;
}

.floatright {
  float: right;
}

</style>

</head>
<body><div><span class="sansserif">sans-serif</span><br>serif <strong>bold serif <em>italic</em></strong><em><br>just italic<span class="floatright">italic too</span></em></div></body>
</html>