overflow-wrap-004.html (853B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text Test: overflow-wrap - normal (basic)</title> 4 <link rel="author" title="Intel" href="http://www.intel.com"> 5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com"> 6 <link rel="help" href="http://www.w3.org/TR/css-text-3/#overflow-wrap-property"> 7 <link rel="match" href="overflow-wrap-004-ref.html"> 8 <meta name="flags" content="ahem"> 9 <meta name="assert" content="The 'overflow-wrap' property set 'normal' overflows container"> 10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 11 <style> 12 #test { 13 border: 5px solid orange; 14 font: 20px/1 Ahem; 15 overflow-wrap: normal; 16 width: 200px; 17 } 18 </style> 19 <body> 20 <p class="instructions">Test passes if the black box overflows the orange box.</p> 21 <p id="test">FillerTextFillerTextFillerTextFillerText</p> 22 </body>