Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: Word-spacing using 'em' units with a zero value, 0em</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in 'em' units." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#test
{
word-spacing: 0em;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div>
<div>
<span>x x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>