line-breaking-017.html (642B)
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 out-of-flow 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-017-ref.html"> 8 <link rel=author title="Jonathan Kew" href="jkew@mozilla.com"> 9 <style> 10 .test { margin: 1em 0; width: 0; } 11 .oof { float: left; } 12 </style> 13 <body> 14 The word "unbroken" below should <b>not</b> be broken: 15 <div class="test">un<span class="oof"></span>bro<b class="oof">float</b>ken</div> 16 </body> 17 </html>