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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show 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 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>document.styleSheets</title>
5 <script type="text/javascript" src="../../../../support/result0.js"></script>
6 </head>
7 <body>
8
9 <p><code>document.styleSheets.length</code> = <script type="text/javascript">
10 writeResult (document.styleSheets.length);
11 </script></p>
12
13 <ol>
14 <script type="text/javascript">
15 var sss = document.styleSheets;
16 var sssl = sss.length;
17 for (var i = 0; i < sssl; i++) {
18 var ss = sss[i];
19 document.write ('<li>');
20 writeResult (ss);
21 document.write ('</li>');
22 }
23 </script>
24 </ol>
25
26 </body>
27 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24