/[suikacvs]/www/test/dom/link-style/link-stylesheet/sheet-2.html
Suika

Contents of /www/test/dom/link-style/link-stylesheet/sheet-2.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 3 03:41:50 2007 UTC (18 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>LinkStyle.sheet == document.styleSheets[i]</title>
5 <link rel="stylesheet" href="../../../support/test-style-1.css">
6 <script src="../../../support/result0.js"></script>
7 </head>
8 <body>
9
10 <p><code><code>&lt;link rel="stylesheet"></code>.sheet
11 == document.styleSheets[<var>i</var>]</code> =
12 <script type="text/javascript">
13 var ds = document.styleSheets[0];
14 var ls = document.getElementsByTagName ('link')[0].sheet;
15 writeResult (ds == ls);
16 </script></p>
17
18 </body>
19 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24