layout/reftests/text/arabic-marks-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <meta charset="utf-8">
     5 <title>bug 873902 - marks should not affect width of Arabic text</title>
     6 <style>
     7 body {
     8   background-color: white;
     9   font-size: 50px;
    10   margin: 20px;
    11 }
    13 /* Try several fonts that should be available on Windows; at least Courier New is also on OS X.
    14    Elsewhere, we may fall back to default, which may or may not be "interesting" to test,
    15    but should pass harmlessly unless there's actually a broken font that shapes badly. */
    16 #a {
    17   font-family: Andalus;
    18 }
    19 #b {
    20   font-family: Courier New;
    21 }
    22 #c {
    23   font-family: Simplified Arabic;
    24 }
    26 .test {
    27   color: white;
    28 }
    29 </style>
    30 </head>
    31 <body>
    32 <div id="a">
    33 foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar
    34 </div>
    35 <div id="b">
    36 foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar
    37 </div>
    38 <div id="c">
    39 foo<span class="test">الرَّحْمَنِ الرَّحِيمِ</span>bar
    40 </div>
    41 </body>
    42 </html>

mercurial