fune/testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-break-word-001.html
Manuel Rego Casasnovas a7af4d1de1 Bug 1441760 [wpt PR 9707] - [css-text] Use "Ahem" instead of "ahem" for fonts in tests, a=testonly
Automatic update from web-platform-tests[css-text] Use "Ahem" instead of "ahem" for fonts in tests

Using the lowercase version causes flakiness on Windows
(see crbug.com/724392).

BUG=817030

Change-Id: Ic4bdea7d40f0c2e96d6669430b3cce7a296e8d55
Reviewed-on: https://chromium-review.googlesource.com/940123
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#539748}

wpt-commits: cc52c7e80c940a475adc28142285082f2c973ed6
wpt-pr: 9707
wpt-commits: cc52c7e80c940a475adc28142285082f2c973ed6
wpt-pr: 9707
2018-03-31 22:28:05 +01:00

30 lines
977 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: overflow-wrap: break-word</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-break-word">
<meta name="flags" content="ahem">
<link rel="match" href="reference/overflow-wrap-break-word-001-ref.html">
<meta name="assert" content="sequences of nbsp characters that would cause overflow are expected to be broken when overflow-wrap is break-word">
<style>
div {
position: relative;
width: 100px;
height: 100px;
font-family: Ahem;
color: red;
overflow-wrap: break-word;
font-size: 25px;
line-height: 27px;
}
div::after{
content: "";
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
background: green;
}
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X</div>
</body>