gecko-dev/layout/reftests/text-indent/text-indent-intrinsic-pref-ref.html

37 lines
742 B
HTML

<!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>