summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-align/text-align-justify-shy-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text/text-align/text-align-justify-shy-001.html')
-rw-r--r--testing/web-platform/tests/css/css-text/text-align/text-align-justify-shy-001.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/text-align/text-align-justify-shy-001.html b/testing/web-platform/tests/css/css-text/text-align/text-align-justify-shy-001.html
new file mode 100644
index 0000000000..3d15488024
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/text-align/text-align-justify-shy-001.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<title>text-align: justify with soft-hyphens</title>
+<link rel='author' title='Koji Ishii' href='mailto:kojii@chromium.org'>
+<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
+<link rel='match' href='reference/text-align-justify-shy-ref-001.html'>
+<style>
+div {
+ text-align: justify;
+ width: 10ch;
+}
+</style>
+<div>abc def ghijkl</div>
+<div>ab&shy;c def ghijkl</div>
+<div>ab<span>&shy;</span>c def ghijkl</div>