word-break-min-content-006.html (901B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text Test: word-break: break-word and intrinsic sizing</title> 4 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> 5 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 6 <link rel="help" href="https://drafts.csswg.org/css-text-3/#overflow-wrap-property"> 7 <link rel="match" href="../overflow-wrap/reference/overflow-wrap-min-content-size-002-ref.html"> 8 <meta name="assert" content="'word-break: break-word' doesn't break grapheme cluster and min-content intrinsic size should take that into account."> 9 <style> 10 #wrapper { 11 width: 0px; 12 word-break: break-word; 13 } 14 #test { 15 float: left; 16 border: 2px solid blue; 17 } 18 </style> 19 20 <p>Test passes if the glyphs are completely inside the blue box. 21 <div id="wrapper"> 22 <div id="test">நிிிிநிிிி</div> 23 </div>