servo/tests/wpt/css-tests/css-text-3_dev/xhtml1/word-break-003.xht

22 lines
No EOL
949 B
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 charset="utf-8" />
<title>CSS Text Test: word-break - normal keyword value - single word not break</title>
<link href="http://www.intel.com" rel="author" title="Intel" />
<link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan" />
<link href="http://www.w3.org/TR/css-text-3/#word-break" rel="help" />
<meta content="" name="flags" />
<meta content="Check that 'word-break' with 'normal' keyword value implies to words break after word, so that a single word won't break." name="assert" />
<style>
div {
border: 2px black solid;
color: blue;
width: 100px;
word-break: normal;
}
</style>
</head><body>
<p>Test passes if there is <strong>no</strong> word break below.</p>
<div>ThisWordShouldNotBeBreakedAndMayBeOutOfTheBox</div>
</body></html>