gecko-dev/testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-fit-content-001.html
Florian Rivoal a1b7b9ac18 Bug 1516407 [wpt PR 14668] - [css-text] Add "anywhere" equivalents to "break-word" tests, a=testonly
Automatic update from web-platform-tests
[css-text] Add "anywhere" equivalents to "break-word" tests

--

wpt-commits: cd31531b419737b67c3201f89eaa1406afe27948
wpt-pr: 14668
2019-02-07 21:49:30 +00:00

23 lines
851 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: overflow-wrap: anywhere 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">
<meta name="flags" content="">
<link rel="match" href="reference/overflow-wrap-break-word-fit-content-001.html">
<meta name="assert" content="The 'overflow-wrap: anywhere' must not break non-BMP characters (which might be represented as surrogate pairs internally)">
<style>
.test {
display: inline-block;
overflow-wrap: anywhere;
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">&#x1D70B;</div></div>
<div><div class="test">𝜋</div></div>
</body>