<html> | |
<head> | |
<script> | |
function runTest() { | |
if (window.layoutTestController) | |
layoutTestController.dumpAsText(); | |
var d = document.getElementById('theDiv'); | |
var style = document.defaultView.getComputedStyle(d, ''); | |
if (style && style.cursor == 'auto') | |
document.getElementById('result').innerHTML = 'SUCCESS'; | |
} | |
</script> | |
</head> | |
<body onload="runTest()"> | |
<div id="theDiv" style="cursor: url()"> | |
<div>This tests that the invalid cursor property value does not get applied. See Bug 11221.</div> | |
<div id="result">FAILURE</div> | |
</body> | |
</html> |