blob: 4d0450e99cd3a21c38432a2077f2316dad9b24e4 [file] [log] [blame]
<!DOCTYPE html>
<div id="element"></div>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
var verticalCursor = "url(file:///a) 11 11, default";
var horizontalCursor = "url(file:///b) 11 11, default";
test(function () {
element.style.cursor = verticalCursor;
assert_equals(element.style.cursor, verticalCursor);
element.style.cursor = horizontalCursor;
assert_equals(element.style.cursor, horizontalCursor);
}, "Check that the cursor updates even when the hotspot is the same");
</script>