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

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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