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-punctuation-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Text Test: Automatic hyphenation for trailing punctuation characters</title>
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<link rel="match" href="reference/hyphens-punctuation-001-ref.html">
<style>
div {
hyphens: auto;
width: 5ch;
border: 1px solid blue;
}
</style>
<body lang="en-us">
<div>00000 example 00000</div>
<div>00000 example. 00000</div>
<div>00000 (example 00000</div>
</body>