summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/word-break/reference/word-break-break-all-inline-006-b-ref.html
blob: c9384aace984d0f08ef9b91f002a42de38baf86c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
div {
  border: solid 5px;
  margin: 5px;
  font-family: monospace;
  width: 6.1ch;
  padding: 1px;
}
.test { word-break: break-all; }
.blue { border-color: blue; }
.orange { border-color: orange; }
</style>
<p>Test passes if the black box is identical to either the blue or the orange one.
<div class="blue">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div>
<div>aaaabb<br>bbbbbb<br>bb<br>bccccc</div>
<div class="orange">aaaabb<br>bbbbbb<br>bb<br>bccccc</div>