blob: 48c223e352d378e10b7cc10e5e49e8613e43c380 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-property">
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<style>
div {
width: 100px;
white-space: pre-wrap;
word-break: break-word;
border: 1px solid blue;
}
.atomic {
display: inline-block;
width: 99px;
height: 1em;
background: orange;
}
</style>
<div><span class="atomic"></span>
 <span class="atomic"></span></div>
|