Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/hyphens/hyphens-auto-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: no automatic hyphenation without language tagging</title>
<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>