5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
6 <title>CSSMediaRule deleteRule test
</title>
14 var styleSheet
= document
.getElementById('style1').sheet
;
15 var mediaRule
= styleSheet
.cssRules
[0];
17 mediaRule
.insertRule("#test { color: green; }", mediaRule
.cssRules
.length
);
21 <body onload=
"test();">
22 <p id=
"test">This line should be green.
</p>