diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-text/shaping/shaping-arabic-diacritics-001.html | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-text/shaping/shaping-arabic-diacritics-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text/shaping/shaping-arabic-diacritics-001.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/shaping/shaping-arabic-diacritics-001.html b/testing/web-platform/tests/css/css-text/shaping/shaping-arabic-diacritics-001.html new file mode 100644 index 0000000000..28f9a1e03d --- /dev/null +++ b/testing/web-platform/tests/css/css-text/shaping/shaping-arabic-diacritics-001.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="utf-8"> +<title>shaping: Arabic diacritics on NBSP</title> +<meta name="assert" content="Shaping must work for diacritics rendered on NBSP as base"> +<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> +<link rel="help" href="https://www.unicode.org/versions/Unicode13.0.0/ch02.pdf"> +<link rel="help" href="https://www.unicode.org/reports/tr53/"> +<link rel="match" href="reference/shaping-arabic-diacritics-001-ref.html"> +<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-2"> +<style type="text/css"> +@font-face { + font-family: ArabicTest; + src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2'); +} +.test { + font: 120px/2 ArabicTest, sans-serif; +} +</style> +</head> +<body> + <p class="instructions">Test passes if the two lines are rendered identically, + with the superscript alef (ا) directly above the raised hamza (ء).</p> + <!-- The Arabic characters here are ARABIC HAMZA ABOVE and ARABIC LETTER + SUPERSCRIPT ALEF, and according to UTR53 should always be sorted + as <hamza,alef> for rendering regardless of underlying order. --> + <div class=test>a<span dir=rtl> ٰٔ</span>z</div> + <div class=test>a<span dir=rtl> ٰٔ</span>z</div> +</body> +</html> |