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

23 lines
929 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 line opportunity with sequence of spaces</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">
<meta name="assert" content="A line breaking opportunity is introduced at the end of a sequence of spaces when 'white-space' is set to 'pre-wrap'.">
<style type="text/css">
div
{
font-family: Ahem;
line-height: 1em;
white-space: pre-wrap;
width: 5em;
}
</style>
</head>
<body>
<p>Test passes if there is one box below.</p>
<div>XX XX</div>
</body>
</html>