Files
servo/tests/wpt/css-tests/css-text-3_dev/html/tab-size-integer-002.htm
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

37 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html><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.htm" rel="match">
<meta content="Tab-size negative values are not allowed" 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;
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>