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

25 lines
908 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 linefeed characters</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="Linefeed characters are not transformed when 'white-space' is set to 'pre-wrap'.">
<style type="text/css">
span
{
background-color: black;
font-family: Ahem;
white-space: pre-wrap;
}
</style>
</head>
<body>
<p>Test passes if there are two boxes below, one above the other.</p>
<div>
<span>XX
XX</span>
</div>
</body>
</html>