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