mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<title>CSS Test: Word-spacing +0 on an element</title>
|
|
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
|
<meta name="flags" content="ahem" />
|
|
<meta name="assert" content="Ensure that word-spacing +0 adds no extra space (in addition to default spacing) between words in the element." />
|
|
<style type="text/css">
|
|
#wrapper
|
|
{
|
|
font: 24px/1em Ahem;
|
|
}
|
|
#test
|
|
{
|
|
word-spacing: +0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
|
<div id="wrapper">
|
|
<div>
|
|
<span>x x</span>
|
|
</div>
|
|
<div id="test">x x</div>
|
|
</div>
|
|
</body>
|
|
</html> |