diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-text/hyphens/i18n/reference/hyphens-i18n-auto-003-alt-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text/hyphens/i18n/reference/hyphens-i18n-auto-003-alt-ref.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/hyphens/i18n/reference/hyphens-i18n-auto-003-alt-ref.html b/testing/web-platform/tests/css/css-text/hyphens/i18n/reference/hyphens-i18n-auto-003-alt-ref.html new file mode 100644 index 0000000000..8880fc2426 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/hyphens/i18n/reference/hyphens-i18n-auto-003-alt-ref.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text Test: language specific hyphenation—Pinyin</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#hyphens-property"> +<meta name="assert" content="Language specific rules must be taken into account"> +<style> +div { + font-size: 3em; + color: orange; +} +.test { + color: blue; +} +</style> + +<p>Test passes if the blue text is identical to one of the orange texts (which may be identical to eachother, or may have a different hyphen). +<div lang=zh-Latn-pinyin class=test>tú-<br>àn</div> +<hr> +<div lang=zh-Latn-pinyin>tú‐<br>àn</div> +<hr> +<div lang=zh-Latn-pinyin>tú-<br>àn</div> |