/[suikacvs]/www/test/dom/style-sheet/css-rules/rules-1.html
Suika

Contents of /www/test/dom/style-sheet/css-rules/rules-1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 3 04:56:41 2007 UTC (18 years, 3 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 <html lang="en">
3 <head>
4 <title>&lt;style> CSSStyleSheet.rules</title>
5 <style type="text/css">
6 #test-style-1 {
7 color: blue;
8 }
9 #test-style-2 {
10 color: green;
11 }
12 </style>
13 <script src="../../../support/result0.js"></script>
14 </head>
15 <body>
16
17 <p><code><var>CSSStyleSheet</var> /* <code>&lt;style></code
18 > */ .rules</code> =
19 <script type="text/javascript">
20 var ds = document.styleSheets[0];
21 writeResult (ds.rules);
22 </script></p>
23
24 </body>
25 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24