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