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

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 <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