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

Contents of /www/test/dom/document/style/style-sheets/style-sheets-link-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 <link rel="stylesheet" href="../../../../support/test-style-1.css">
7 <link rel="stylesheet" href="../../../../support/test-style-2.css">
8 </head>
9 <body>
10
11 <p><code>document.styleSheets.length</code> = <script type="text/javascript">
12 writeResult (document.styleSheets.length);
13 </script></p>
14
15 <ol>
16 <script type="text/javascript">
17 var sss = document.styleSheets;
18 var sssl = sss.length;
19 for (var i = 0; i < sssl; i++) {
20 var ss = sss[i];
21 document.write ('<li>');
22 writeResult (ss);
23 document.write ('</li>');
24 }
25 </script>
26 </ol>
27
28 </body>
29 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24