overflow-wrap-min-content-size-002.html (884B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text Test: overflow-wrap: anywhere 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="reference/overflow-wrap-min-content-size-002-ref.html"> 8 <meta name="assert" content="overflow-wrap:anywhere doesn't break grapheme cluster and min-content intrinsic size should take that into account."> 9 <style> 10 #wrapper { 11 width: 0px; 12 overflow-wrap: anywhere; 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>