line-breaking-015.html (608B)
1 <!doctype html> 2 <html> 3 <meta charset="utf-8"> 4 <title>CSS Text — line breaking at element boundaries</title> 5 <meta name=assert content="An empty inline element should not introduce a line-break opportunity"> 6 <link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details"> 7 <link rel=match href="reference/line-breaking-015-ref.html"> 8 <link rel=author title="Jonathan Kew" href="jkew@mozilla.com"> 9 <style> 10 .test { margin: 1em 0; width: 0; line-height: 2; } 11 </style> 12 <body> 13 The word "unbroken" below should <b>not</b> be broken: 14 <div class="test">un<span></span>bro<b></b>ken</div> 15 </body> 16 </html>