Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / invalid-cursor-property-crash.html
blob0138ef99f50b30e1c7e6dc738024e92aba2f95d0
1 <html>
2 <head>
3 <script>
4 function runTest() {
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 var d = document.getElementById('theDiv');
9 var style = document.defaultView.getComputedStyle(d, '');
11 if (style && style.cursor == 'auto')
12 document.getElementById('result').innerHTML = 'SUCCESS';
14 </script>
15 </head>
16 <body onload="runTest()">
17 <div id="theDiv" style="cursor: url()">
18 <div>This tests that the invalid cursor property value does not get applied. See Bug 11221.</div>
19 <div id="result">FAILURE</div>
20 </body>
21 </html>