blob: c768564751c04a53c184d1493f0b845c0cf4332d [file] [log] [blame]
<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 == '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>