summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-indent/text-indent-intrinsic-pref-ref.html
blob: e31a87e7f6c92f28be968fabfe9d9d32284a7e0b (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
30
31
32
33
34
35
36
<!DOCTYPE HTML>
<html>
<head>
<title>Test for intrinsic widths and text-indent</title>
<style type="text/css">

body { font-size: 12px; }

body > div, body > pre {
	float: left; clear: left; margin: 1px; height: 2em;
	border: medium solid;
}

</style>
</head>
<body>

<!-- test against inline margin -->
<div><span style="margin-left: 3em">X</span></div>

<!-- test against block padding -->
<div style="padding-left: 3em;">X</div>

<!-- test against block width -->
<div style="width: 4em;"></div>

<div style="width: 4em;"></div>
<div style="width: 6em;"></div>
<div style="width: 10em;"></div>
<div style="width: 4em;"></div>
<div style="width: 6em;"></div>
<div style="width: 4em;"></div>
<div style="width: 6em;"></div>

</body>
</html>