summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/hyphens/hyphens-auto-001.html
blob: e7ba16f7a4f09d849a51b0873cc4f20146952a28 (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
25
26
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: no automatic hyphenation without language tagging</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#hyphens-property">
<link rel="match" href="reference/hyphens-auto-001-ref.html">
<meta name="assert" content="automatic hyphenation must not work without language tagging">
<style>
div {
  width: 4ch;
  hyphens: auto;
}
</style>

<p>Test passes if none of the words below are hyphenated.
<div>implementation
initialization
realization
hyphenation
anticonstitutionnellement
intergouvernementalisation
dichlorodiphényltrichloroéthane
honorificabilitudinitatibus
Wiedervereinigung
Rechtsschutzversicherungsgesellschaften</div>