| <!DOCTYPE html> |
| <html> |
| <head> |
| <link rel="stylesheet" href="resources/style-with-text-css-and-invalid-type.php"> |
| <script> |
| function runTest() |
| { |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| document.getElementById('result').innerHTML = getComputedStyle(document.documentElement, null).getPropertyValue("background-color"); |
| } |
| </script> |
| </head> |
| <body onload="runTest()">This test passes if we apply the stylesheet (which turns the background color green.) The background color is: <span id="result"></span>.</body> |
| </html> |