servo/tests/wpt/css-tests/css-text-3_dev/xhtml1print/overflow-wrap-005.xht

21 lines
No EOL
1,016 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: overflow-wrap - normal (white space)</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/#overflow-wrap" rel="help" title="6.2. Overflow Wrapping: the 'word-wrap'/'overflow-wrap' property" />
<link href="reference/overflow-wrap-003-ref.xht" rel="match" />
<meta content="" name="flags" />
<meta content="The 'overflow-wrap' property set 'normal' will break line at white space" name="assert" />
<style>
#test {
border: 1px solid blue;
overflow-wrap: normal;
width: 200px;
}
</style>
</head><body>
<p>Test passes if the 'FillerText' displayed in two rows within blue box.</p>
<p id="test">FillerTextFillerText FillerTextFillerText</p>
</body></html>