1 | <style>
|
2 | @media handheld, only screen and (max-device-width: 480px){
|
3 | html {
|
4 | color: black;
|
5 | }
|
6 | }
|
7 | </style>
|
8 |
|
9 | <script>
|
10 | window.onload = function(){
|
11 | if (document.styleSheets[0].cssRules[0].cssRules[0].parentRule === document.styleSheets[0].cssRules[0]) {
|
12 | document.body.innerHTML = "PASS parentRule";
|
13 | } else {
|
14 | document.body.innerHTML = "FAIL parentRule";
|
15 | }
|
16 | }
|
17 | </script> |
\ | No newline at end of file |