Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaa bb<br>bbbbbb<br>bbb<br>ccc</div>
<div class="testdiv">aaa bb<br>bbbbbb<br>bbb<br>ccc</div>