fune/testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html
Ting-Yu Lin 82fa2174c7 Bug 1706711 [wpt PR 28630] - Improve assertion and comments for overflow-wrap-anywhere-011.html and its reference., a=testonly
Automatic update from web-platform-tests
Improve assertion and comments for overflow-wrap-anywhere-011.html and its reference. (#28630)

Fixed #28614.
--

wpt-commits: dd806aec5821cbe9f20019943e97538ccd1d445a
wpt-pr: 28630
2021-04-27 13:49:37 +00:00

25 lines
745 B
HTML

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Text Reference: overflow-wrap: anywhere</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<style>
div {
/* Use sans-serif fonts to ensure the width of `&nbsp` is larger than `i`. */
font-family: Arial, Helvetica, sans-serif;
font-size: 100px;
width: min-content;
overflow-wrap: anywhere;
border: 5px solid blue;
margin-bottom: 5px; /* To separate <div>s visually. */
}
</style>
<p>The first three div should have the same width, but the fourth one should be wider.</p>
<div>i</div>
<div>i</div>
<div>i</div>
<div>i&nbsp;</div>
</html>