blob: 574f4d37b4c0d7cbd92d21e2021942922e0b6676 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text test: hyphenate-character</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-text-4/#hyphenate-character">
<link rel="match" href="reference/hyphenate-character-003-ref.html">
<meta name="assert" content="Specifies the string that appears at the end of the line before a hyphenation break">
<style>
div {
font: 16px monospace;
width: 5.5ch; /* wide enough that the first potential break in "re-al-iza-tion" should NOT be used */
hyphens: manual;
hyphenate-character: "\2022";
}
</style>
<p>Test passes if the words below are hyphenated <b>using a bullet (•) character</b>.
<div lang="en">
im­ple­men­ta­tion<br><br>
ini­tial­iza­tion<br><br>
re­al­iza­tion<br><br>
hy­phen­ation
</div>
|