зеркало из https://github.com/mozilla/gecko-dev.git
37 строки
741 B
HTML
37 строки
741 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: 4em;"></div>
|
|
<div style="width: 6em;"></div>
|
|
<div style="width: 4em;"></div>
|
|
<div style="width: 6em;"></div>
|
|
<div style="width: 4em;"></div>
|
|
<div style="width: 6em;"></div>
|
|
|
|
</body>
|
|
</html>
|