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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/text-language-01.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +<head>
     1.6 +<title>SVG, text, language...</title>
     1.7 +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     1.8 +<style type="text/css">
     1.9 +body {
    1.10 +  font-family: sans-serif;
    1.11 +  font-size: 24px;
    1.12 +  margin: 24px;
    1.13 +}
    1.14 +div {
    1.15 +  height: 100px;
    1.16 +}
    1.17 +</style>
    1.18 +</head>
    1.19 +
    1.20 +<!-- The reference is tagged as "en", the test cases as other languages.
    1.21 +     Expectation is that these will have different default fonts,
    1.22 +     so the test and reference should NOT match. -->
    1.23 +<body>
    1.24 +<div lang="ar" style="height:100px">
    1.25 +  <svg xmlns="http://www.w3.org/2000/svg" height="200">
    1.26 +    <text y="50">Hello world, 你好吗?</text>
    1.27 +  </svg>
    1.28 +</div>
    1.29 +<div lang="zh-TW" style="height:100px">
    1.30 +  <svg xmlns="http://www.w3.org/2000/svg" height="200">
    1.31 +    <text y="50">Hello world, 你好吗?</text>
    1.32 +  </svg>
    1.33 +</div>
    1.34 +<div lang="ja" style="height:100px">
    1.35 +  <svg xmlns="http://www.w3.org/2000/svg" height="200">
    1.36 +    <text y="50">Hello world, 你好吗?</text>
    1.37 +  </svg>
    1.38 +</div>
    1.39 +</body>
    1.40 +</html>

mercurial