/[suikacvs]/www/test/dom/link-style/style/removed-sheet-1.html
Suika

Contents of /www/test/dom/link-style/style/removed-sheet-1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 3 13:54:42 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</title>
5 <style type="text/css">
6 #style-test-1 {
7 color: blue;
8 }
9 </style>
10 <script src="../../../support/result0.js"></script>
11 </head>
12 <body>
13
14 <p><code>document.createElement ('style').sheet</code> =
15 <script type="text/javascript">
16 var ls = document.getElementsByTagName ('style')[0];
17 ls.parentNode.removeChild (ls);
18 writeResult (ls.sheet);
19 </script></p>
20
21 </body>
22 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24