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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <meta charset="utf-8">
     5 <title>Bug 769475 - test for italicized Arabic script in Arial</title>
     6 <style type="text/css">
     7 body {
     8   font-family: arial, serif;
     9   font-size: 36px;
    10   line-height: 72px;
    11 }
    12 span {
    13   color: white;
    14 }
    15 </style>
    16 </head>
    17 <body lang="ar">
    18 <!-- the white span should have the same width whether it's italicized or not,
    19   -- as Arial does not have Arabic characters in the italic face but we should
    20   -- apply synthetic italic to the regular face, NOT fall back to a different
    21   -- family from prefs.
    22   -->
    23 <div>العربي <span>العربي</span> العربي</div>
    24 </body>
    25 </html>

mercurial