/[suikacvs]/www/test/dom/style-declaration/get-property-value/prop-dup-1.html
Suika

Contents of /www/test/dom/style-declaration/get-property-value/prop-dup-1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat May 12 06:05:50 2007 UTC (18 years ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
New tests

1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>{prop:value}.getPropertyValue (s)</title>
5 <style type="text/css">
6 div {
7 color: red;
8 color: white;
9 }
10 </style>
11 <script type="text/javascript" src="../../../support/result0.js"></script>
12 </head>
13 <body>
14 <p><code>color</code> is <script type="text/javascript">
15 var style = document.getElementsByTagName ('style')[0];
16 var rule = style.sheet.cssRules[0];
17 var styledecl = rule.style;
18 writeResult (styledecl.getPropertyValue ('color'));
19 </script>.</p><noscript><p>noscript</p></noscript>
20 </body>
21 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24