blob: 6d2fc79f05ee17568416ecbdfe601e3291f99eb7 [file] [log] [blame]
<!DOCTYPE html>
| The value "pre" of property "white-space" does not allow wrapping. Content
| that does not fit the block container overflows it.
| The value "normal" of property "white-space" allows wrapping at soft-wrap
| opportunities, as determined by the line-breaking rules in effect.
body {
width: 150px;
font-size: 15px;
color: #999;
p {
white-space: pre;
span {
white-space: normal;
color: #f44336;
<p>This is some text. <span>This is some text. </span>This is some text.</p>