summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-matching/arial-arabic.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/font-matching/arial-arabic.html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--layout/reftests/font-matching/arial-arabic.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/font-matching/arial-arabic.html b/layout/reftests/font-matching/arial-arabic.html
new file mode 100644
index 0000000000..5f363ca261
--- /dev/null
+++ b/layout/reftests/font-matching/arial-arabic.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Bug 769475 - test for italicized Arabic script in Arial</title>
+<style type="text/css">
+body {
+ font-family: arial, serif;
+ font-size: 36px;
+ line-height: 72px;
+}
+span {
+ font-style: italic;
+ color: white;
+}
+</style>
+</head>
+<body lang="ar">
+<!-- the white span should have the same width whether it's italicized or not,
+ -- as Arial does not have Arabic characters in the italic face but we should
+ -- apply synthetic italic to the regular face, NOT fall back to a different
+ -- family from prefs.
+ -->
+<div>العربي <span>العربي</span> العربي</div>
+</body>
+</html>