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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide 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
new tests

1 wakaba 1.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.charset = 'euc-jp';
11    
12     if (document.charset.toLowerCase () == 'euc-jp') {
13     result.firstChild.data = 'PASS';
14     result.className = 'PASS';
15     } else {
16     result.firstChild.data = 'FAIL (' + document.charset + ')';
17     }
18     } catch (e) {
19     result.firstChild.data = 'FAIL (' + e + ')';
20     }
21     </script>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24  
Google Analytics is used in this page; Cookies are used. 忍者AdMax is used in this page; Cookies are used. Privacy policy.