Files
servo/tests/wpt/css-tests/css21_dev/html4/white-space-p-element-001.htm

21 lines
967 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 'normal' vs. 'p' element</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-prop">
<meta name="flags" content="">
<meta name="assert" content="The 'p' element and 'white-space: normal' assignment behave the same way with respect to white space.">
<style type="text/css">
div
{
white-space: normal;
}
</style>
</head>
<body>
<p>Test passes if the two lines below have the exact same spacing.</p>
<div> The spacing on these two sentences need to be the same! </div>
<p> The spacing on these two sentences need to be the same! </p>
</body>
</html>