blob: b3630c22cb04f944ea9555af54dd0b9667b90e10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!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>
|