Parent Directory
|
Revision Log
New tests
| 1 | wakaba | 1.1 | <!DOCTYPE html> |
| 2 | <html lang="en"> | ||
| 3 | <head> | ||
| 4 | <title><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><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 |