diff options
Diffstat (limited to 'layout/reftests/font-matching/arial-arabic.html')
-rw-r--r-- | layout/reftests/font-matching/arial-arabic.html | 26 |
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 000000000..5f363ca26 --- /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> |