summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/word-break/word-break-break-all-inline-007.tentative.html
blob: bc5a08d38a505b1b08f204e6d243b43fa3dd34bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-007-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
.test { word-break: break-all; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaaaaa<span class="test">bbbbbbb</span>cccccc</div>
<div class="testdiv">aaaaaaa<br>bbbbbb<br>bcccccc</div>