blob: 3cd0d4b263165ce420abe769d83914ca7d7994c6 [file] [log] [blame]
<html>
<head>
<script>
function runTest() {
if (window.testRunner)
testRunner.dumpAsText();
var d = document.getElementById('theDiv');
var style = document.defaultView.getComputedStyle(d, '');
if (style && style.cursor == 'url(' + document.location + '), 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>