- Notifications
You must be signed in to change notification settings - Fork 3.3k
/
Copy pathoverflow-wrap-cluster-001.html
21 lines (20 loc) · 797 Bytes
/
overflow-wrap-cluster-001.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<metacharset="utf-8">
<title>CSS Text level 3 Test: overflow-wrap:break-word and grapheme clusters</title>
<linkrel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<linkrel="help" href="https://www.w3.org/TR/css-text-3/#overflow-wrap-property">
<linkrel="match" href="reference/overflow-wrap-cluster-001-ref.html">
<metaname="assert" content="grapheme clusters must stay together as one unit when a line is broken by overflow-wrap:break-word">
<style>
div {
font-size:4em;
width:4em;
}
#test {
overflow-wrap: break-word;
width:0;
}
</style>
<p>Test passes if there are four identical lines of text below.
<divlang=hiid=ref>षि<br>षि</div>
<divlang=hiid=test>षिषि</div>