/[suikacvs]/www/test/dom/document/meta/characterset-set-1.html
Suika

Contents of /www/test/dom/document/meta/characterset-set-1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Feb 27 02:46:53 2011 UTC (14 years, 2 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
Error occurred while calculating annotation data.
new tests

1 <!DOCTYPE HTML>
2
3 <p id=result class=FAIL>FAIL (noscript)</p>
4
5 <script>
6 var result = document.getElementById ('result');
7 result.firstChild.data = 'FAIL (script error)';
8
9 try {
10 document.characterSet = 'euc-jp';
11
12 if (document.characterSet.toLowerCase () == 'euc-jp') {
13 result.firstChild.data = 'PASS';
14 result.className = 'PASS';
15 } else {
16 result.firstChild.data = 'FAIL (' + document.characterSet + ')';
17 }
18 } catch (e) {
19 result.firstChild.data = 'FAIL (' + e + ')';
20 }
21 </script>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24