blob: 7fde5287bc05eba53d23f8a82254d18f8cf1c0c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: overflow-wrap: break-word with fit-content</title>
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
<link rel="help" href="http://www.w3.org/TR/css-text-3/#overflow-wrap-property">
<link rel="match" href="reference/overflow-wrap-break-word-fit-content-001.html">
<meta name="assert" content="The 'overflow-wrap: break-word' must not break non-BMP characters (which might be represented as surrogate pairs internally)">
<style>
.test {
display: inline-block;
word-wrap: break-word;
font-size: 20px;
line-height: 1;
margin-bottom: .2em;
}
</style>
<body>
<div id="log"></div>
<p class="instructions">Tests pass if all lines do not wrap.
<div><div class="test">𝜋</div></div>
<div><div class="test">𝜋</div></div>
</body>
|