summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/hyphens/hyphenate-character-005.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text/hyphens/hyphenate-character-005.html')
-rw-r--r--testing/web-platform/tests/css/css-text/hyphens/hyphenate-character-005.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/hyphens/hyphenate-character-005.html b/testing/web-platform/tests/css/css-text/hyphens/hyphenate-character-005.html
new file mode 100644
index 0000000000..5600d8a4cf
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/hyphens/hyphenate-character-005.html
@@ -0,0 +1,23 @@
+<!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="help" href="https://drafts.csswg.org/css-text-4/#hyphenate-character">
+<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>&nbsp;&#x0640;</span>",
+and shaping is <i>not</i> interrupted.
+
+<div dir=rtl lang=ug>
+قىل­مىغانلىقى
+</div>