Files
servo/tests/wpt/css-tests/css21_dev/html4/white-space-processing-057.htm

27 lines
932 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: White-space 'pre-wrap' and tab at end of line</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model">
<meta name="flags" content="ahem may">
<meta name="assert" content="A tab at end of line may be removed when 'white-space' is set to 'pre-wrap'.">
<style type="text/css">
div
{
font-family: Ahem;
}
#span1
{
white-space: pre-wrap;
}
</style>
</head>
<body>
<p>Test passes if there is one or two boxes below.</p>
<div>
<span id="span1">X </span>
<span>X</span>
</div>
</body>
</html>