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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 <!-- The reference is tagged as "en", the test cases as other languages.
    18      Expectation is that these will have different default fonts,
    19      so the test and reference should NOT match. -->
    20 <body>
    21 <div lang="ar" style="height:100px">
    22   <svg xmlns="http://www.w3.org/2000/svg" height="200">
    23     <text y="50">Hello world, 你好吗?</text>
    24   </svg>
    25 </div>
    26 <div lang="zh-TW" style="height:100px">
    27   <svg xmlns="http://www.w3.org/2000/svg" height="200">
    28     <text y="50">Hello world, 你好吗?</text>
    29   </svg>
    30 </div>
    31 <div lang="ja" style="height:100px">
    32   <svg xmlns="http://www.w3.org/2000/svg" height="200">
    33     <text y="50">Hello world, 你好吗?</text>
    34   </svg>
    35 </div>
    36 </body>
    37 </html>

mercurial