Files
servo/tests/wpt/css-tests/css-text-3_dev/xhtml1/tab-size-integer-001.xht

36 lines
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Text Test: tab-size: 4</title>
<link href="mailto:david@openweb.io" rel="author" title="David Storey" />
<link href="mailto:rhauck@adobe.com" rel="reviewer" title="Rebecca Hauck" />
<link href="http://www.w3.org/TR/css-text-3/#tab-size" rel="help" />
<link href="reference/tab-size-integer-001-ref.xht" rel="match" />
<meta content="Tab should be rendered as 4 times the space characters advance width (U+0020)" name="assert" />
<style type="text/css">
.container {
position: absolute;
}
.green {
position: absolute;
top: 0;
left: 0;
background: green;
}
.red {
position: absolute;
top: 0;
left: 0;
background: red;
tab-size: 4;
}
</style>
</head>
<body>
<p>The test passes if there is no red.</p>
<div class="container">
<pre class="red"> </pre>
<pre class="green"> </pre>
</div>
</body></html>