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/hyphenate-character-005.html - WPT Dashboard Interop Dashboard
<!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="match" href="reference/hyphenate-character-005-ref.html">
<meta name="assert" content="Specifies the string that appears at the end of the line before a hyphenation break">
<style>
div {
font: 32px sans-serif;
margin-left: 10ch;
width: 3ch;
hyphenate-character: "\00a0\0640";
}
</style>
<p>Test passes if the word below is hyphenated
using a right-to-left <i>space+kashida</i> sequence "<span dir=rtl> ـ</span>",
and shaping is <i>not</i> interrupted.
<div dir=rtl lang=ug>
قىلمىغانلىقى
</div>