Files
servo/tests/wpt/css-tests/css21_dev/html4/word-spacing-justify-001.htm

26 lines
948 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Word-spacing and 'text-align: justify'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props">
<meta name="flags" content="ahem">
<meta name="assert" content="The word spacing is changed when combined with 'text-align: justify'.">
<style type="text/css">
span
{
display: block;
font: 16px/1em Ahem;
text-align: justify;
width: 20em;
word-spacing: 3em;
}
</style>
</head>
<body>
<p>Test passes if there are three distinct boxes below.</p>
<div>
<span>XXXXX XXXXX XXXXX XXXXX</span>
</div>
</body>
</html>