overflow-wrap-001

overflow-wrap - break-word (basic)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem
Assertion
The 'overflow-wrap' property set 'break-word' breaks the word at an arbitrary point

Source

 1 <!DOCTYPE html>
 2 <html><head><meta charset="utf-8">
 3 <title>CSS Text Test: overflow-wrap - break-word (basic)</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/#overflow-wrap" rel="help" title="6.2. Overflow Wrapping: the 'word-wrap'/'overflow-wrap' property">
 7 <link href="reference/overflow-wrap-001-ref.htm" rel="match">
 8 <meta content="ahem" name="flags">
 9 <meta content="The 'overflow-wrap' property set 'break-word' breaks the word at an arbitrary point" name="assert">
10 <style>
11   #test {
12     border: 5px solid orange;
13     font: 20px/1 Ahem;
14     overflow-wrap: break-word;
15     width: 200px;
16   }
17 </style>
18 </head><body>
19   <p class="instructions">Test passes if the black box is within the orange box.</p>
20   <p id="test">FillerTextFillerTextFillerTextFillerText</p>
21 
22 </body></html>