summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/text/text-transform-bicameral-021-ref.xht
blob: 17567c6b8c82b8b5eeb3f9b34c8cd83be67dd718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<style type='text/css'>
/* the CSS below is not part of the test */
.test { font-size: 130%; line-height: 2.5; color: blue; }
.test div { white-space: nowrap; text-align: center;
             width: 5em; display: inline-block; }</style>
<script type='text/javascript'>
//<![CDATA[
function setFontFamily () {var fontName = document.getElementById( 'fontName' ).value;	var divs = document.getElementsByTagName('div');	var i = 0; var div;	while (i < divs.length) {	 	div = divs.item(i);		if (div.className == 'test') { 			div.style.fontFamily = fontName; 			}		i++;		}	}
//]]>
</script>
</head>
<body>
<p class="instructions">Test passes if the right-hand character in each pair matches the left-hand one.</p>


<div class="test">
<div>𐐀 𐐀</div>
<div>𐐁 𐐁</div>
<div>𐐂 𐐂</div>
<div>𐐃 𐐃</div>
<div>𐐄 𐐄</div>
<div>𐐅 𐐅</div>
<div>𐐆 𐐆</div>
<div>𐐇 𐐇</div>
<div>𐐈 𐐈</div>
<div>𐐉 𐐉</div>
<div>𐐊 𐐊</div>
<div>𐐋 𐐋</div>
<div>𐐌 𐐌</div>
<div>𐐍 𐐍</div>
<div>𐐎 𐐎</div>
<div>𐐏 𐐏</div>
<div>𐐐 𐐐</div>
<div>𐐑 𐐑</div>
<div>𐐒 𐐒</div>
<div>𐐓 𐐓</div>
<div>𐐔 𐐔</div>
<div>𐐕 𐐕</div>
<div>𐐖 𐐖</div>
<div>𐐗 𐐗</div>
<div>𐐘 𐐘</div>
<div>𐐙 𐐙</div>
<div>𐐚 𐐚</div>
<div>𐐛 𐐛</div>
<div>𐐜 𐐜</div>
<div>𐐝 𐐝</div>
<div>𐐞 𐐞</div>
<div>𐐟 𐐟</div>
<div>𐐠 𐐠</div>
<div>𐐡 𐐡</div>
<div>𐐢 𐐢</div>
<div>𐐣 𐐣</div>
<div>𐐤 𐐤</div>
<div>𐐥 𐐥</div>
<div>𐐦 𐐦</div>
<div>𐐧 𐐧</div>
</div>


<p id='fontChange' style='display: none;' class='notes'>If you are unable to see font glyphs for certain characters using the browsers default font you can apply a specific font by typing its name in the following box: <input class='css' name='fontName' id='fontName' value='' type='text' /> <button class='notes' type='button' onclick='setFontFamily()'>Apply</button></p><script type='text/javascript'>if (document.getElementById) {document.getElementById('fontChange').style.display = 'block'}</script></body>
</html>