wpt / css / css-text / hyphens / hyphens-auto-001.html

Status: PASS | Duration: 11ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-text/hyphens/hyphens-auto-001.html

<!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>

/css/css-text/hyphens/reference/hyphens-auto-001-ref.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test Reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
div { white-space: pre; }
</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>