servo/tests/wpt/css-tests/css-text-3_dev/xhtml1print/word-break-002.xht

22 lines
No EOL
933 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</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." name="assert" />
<style>
div {
border: 2px black solid;
color: blue;
width: 100px;
word-break: normal;
}
</style>
</head><body>
<p>Test passes if all the words below are within the box and break only after a word.</p>
<div>Words in these lines should break after word and be inside the box.</div>
</body></html>