servo/tests/wpt/css-tests/css-text-3_dev/html/word-break-002.htm

22 lines
No EOL
790 B
HTML

<!DOCTYPE html>
<html><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>