word-break-004

word-break - normal keyword value - Chinese words break

WeasyPrint

This browser

Assertion
Check that 'word-break' with 'normal' keyword value implies to words break after word, including Chinese words.

Source

 1 <!DOCTYPE html>
 2 <html><head><meta charset="utf-8">
 3 <title>CSS Text Test: word-break - normal keyword value - Chinese words 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, including Chinese words." 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 all the Chinese words below are inside the box and break normally.</p>
19   <div>这些文字会自动换行,但不会超出黑色框。</div>
20 
21 
22 </body></html>