word-break-003

word-break - normal keyword value - single word not break

WeasyPrint

This browser

Assertion
Check that 'word-break' with 'normal' keyword value implies to words break after word, so that a single word won't break.

Source

 1 <!DOCTYPE html>
 2 <html><head><meta charset="utf-8">
 3 <title>CSS Text Test: word-break - normal keyword value - single word not break</title>
 4 <link href="http://www.intel.com" rel="author" title="Intel">
 5 <link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan">
 6 <link href="http://www.w3.org/TR/css-text-3/#word-break" rel="help">
 7 <meta content="" name="flags">
 8 <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">
 9 <style>
10   div {
11     border: 2px black solid;
12     color: blue;
13     width: 100px;
14     word-break: normal;
15   }
16 </style>
17 </head><body>
18   <p>Test passes if there is <strong>no</strong> word break below.</p>
19   <div>ThisWordShouldNotBeBreakedAndMayBeOutOfTheBox</div>
20 
21 
22 </body></html>