layout/reftests/font-matching/arial-arabic-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-matching/arial-arabic-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<meta charset="utf-8">
     1.8 +<title>Bug 769475 - test for italicized Arabic script in Arial</title>
     1.9 +<style type="text/css">
    1.10 +body {
    1.11 +  font-family: arial, serif;
    1.12 +  font-size: 36px;
    1.13 +  line-height: 72px;
    1.14 +}
    1.15 +span {
    1.16 +  color: white;
    1.17 +}
    1.18 +</style>
    1.19 +</head>
    1.20 +<body lang="ar">
    1.21 +<!-- the white span should have the same width whether it's italicized or not,
    1.22 +  -- as Arial does not have Arabic characters in the italic face but we should
    1.23 +  -- apply synthetic italic to the regular face, NOT fall back to a different
    1.24 +  -- family from prefs.
    1.25 +  -->
    1.26 +<div>العربي <span>العربي</span> العربي</div>
    1.27 +</body>
    1.28 +</html>

mercurial