word-wrap-004

word-wrap - normal (basic)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem
Assertion
The 'word-wrap' property set 'normal' overflows container

Source

 1 <!DOCTYPE html>
 2 <html><head><meta charset="utf-8">
 3 <title>CSS Text Test: word-wrap - normal (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-004-ref.htm" rel="match">
 8 <meta content="ahem" name="flags">
 9 <meta content="The 'word-wrap' property set 'normal' overflows container" name="assert">
10 <style>
11   #test {
12     border: 5px solid orange;
13     font: 20px/1 Ahem;
14     word-wrap: normal;
15     width: 200px;
16   }
17 </style>
18 </head><body>
19   <p class="instructions">Test passes if the black box overflows the orange box.</p>
20   <p id="test">FillerTextFillerTextFillerTextFillerText</p>
21 
22 </body></html>