summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/invalid-cursor-property-crash.html
blob: 0138ef99f50b30e1c7e6dc738024e92aba2f95d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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 == '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>