layout/reftests/font-face/src-format-arabic-ot-ref.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Test page</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <!-- text taken from http://www.unicode.org/standard/translations/arabic.html -->
     9 <style type="text/css">
    11 body {
    12   margin: 50px;
    13   font-size: 24pt;
    14   width: 400px;
    15 }
    17 @font-face {
    18   font-family: Scheherazade-OpenType;
    19   src: url(../fonts/sil/ScheherazadeRegOT.ttf);
    20 }  
    22 p { font-family: Scheherazade-OpenType, serif; }
    24 </style>
    26 <script type="text/javascript">
    28 </script>
    30 </head>
    31 <body dir="rtl">
    33 <p>أساسًا، تتعامل الحواسيب مع الأرقام فقط، وتخزّن الأحرف والمحارف الأخرى بإعطاء رقم لكل واحد منها.</p>
    35 </body>
    36 </html>

mercurial