- Notifications
You must be signed in to change notification settings - Fork 3.3k
/
Copy pathoverflow-wrap-anywhere-007.html
22 lines (22 loc) · 1001 Bytes
/
overflow-wrap-anywhere-007.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<metacharset="utf-8">
<title>CSS Text Test: overflow-wrap - anywhere (basic)</title>
<linkrel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<linkrel="help" title="5.5. Overflow Wrapping: the overflow-wrap/word-wrap property " href="https://drafts.csswg.org/css-text-3/#overflow-wrap-property">
<linkrel="help" href="https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-anywhere">
<linkrel="match" href="overflow-wrap-001-ref.html">
<metaname="flags" content="ahem">
<metaname="assert" content="The 'overflow-wrap' property set 'anywhere' breaks the word at an arbitrary point">
<linkrel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#test {
border:5px solid orange;
font:20px/1 Ahem;
overflow-wrap: anywhere;
width:200px;
}
</style>
<body>
<pclass="instructions">Test passes if the black box is within the orange box.</p>
<pid="test">FillerTextFillerTextFillerTextFillerText</p>
</body>