blob: 5bf2c35b59b5c402170665a8e569168df0655945 [file] [log] [blame]
<!DOCTYPE html>
| Wrapping is only performed at an allowed break point, called a soft wrap
| opportunity. In most writing systems, in the absence of hyphenation a soft
| wrap opportunity occurs only at word boundaries.
| All soft wrap segments that can fully fit within the available width will be
| included on the line.
body {
margin: 0px;
font-family: Roboto;
font-size: 20px;
div {
word-wrap: break-word;
.containing-block {
background-color: #03a9f4;
width: 110px;
<div class="containing-block">
<div>abcd<span>ef gh</span>i jkl</div>
<div>ab cd<span>efgh</span> ijkl</div>
<div>abcd<span>ef gh </span>ijkl</div>
<div>abcd <span>ef gh</span>ijkl</div>
<div>ab cd<span> efgh</span>ijkl</div>
<div>ab cd <span>efgh</span>ijkl</div>
<div>ab c d<span>efgh</span>ijkl</div>
<div> abcd<span>efgh</span>ijkl</div>