layout/reftests/svg/text-language-00.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     3 <title>SVG, text, language...</title>
     4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     5 <style type="text/css">
     6 body {
     7   font-family: sans-serif;
     8   font-size: 24px;
     9   margin: 24px;
    10 }
    11 div {
    12   height: 100px;
    13 }
    14 </style>
    15 </head>
    17 <!-- This file, which does NOT use SVG, serves as a sanity-check;
    18      if this reftest fails (i.e. test and reference images match)
    19      then our font configuration is not suitable for this test
    20      and the SVG testcases must be expected to fail as well. -->
    21 <body>
    22 <div lang="ar">
    23   <p>Hello world, 你好吗?</p>
    24 </div>
    25 <div lang="zh-TW">
    26   <p>Hello world, 你好吗?</p>
    27 </div>
    28 <div lang="ja">
    29   <p>Hello world, 你好吗?</p>
    30 </div>
    31 </body>
    32 </html>

mercurial