/[suikacvs]/www/test/dom/document/style/style-sheets/style-sheets-style-1.html
Suika

Contents of /www/test/dom/document/style/style-sheets/style-sheets-style-1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Sat Feb 3 03:25:20 2007 UTC (19 years, 5 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
New tests

1 wakaba 1.1 <!DOCTYPE html>
2     <html lang="en">
3     <head>
4     <title>document.styleSheets</title>
5     <script type="text/javascript" src="../../../../support/result0.js"></script>
6     <style type="text/css">
7     #test-style-1 {
8     color: blue;
9     }
10     </style>
11     </head>
12     <body>
13    
14     <p><code>document.styleSheets.length</code> = <script type="text/javascript">
15     writeResult (document.styleSheets.length);
16     </script></p>
17    
18     <ol>
19     <script type="text/javascript">
20     var sss = document.styleSheets;
21     var sssl = sss.length;
22     for (var i = 0; i < sssl; i++) {
23     var ss = sss[i];
24     document.write ('<li>');
25     writeResult (ss);
26     document.write ('</li>');
27     }
28     </script>
29     </ol>
30    
31     </body>
32     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24