blob: db7ffaaf566c42fe72c3af4f195b2e68b8c0454e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!doctype html>
<title>Cursor aliases compute to the unprefixed keyword</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div></div>
<script>
test(function() {
let div = document.querySelector("div");
for (const kw of ["grab", "grabbing", "zoom-in", "zoom-out"]) {
div.style.cursor = "-moz-" + kw;
assert_equals(getComputedStyle(div).cursor, kw);
}
}, "-moz- prefixed cursor keywords compute to its unprefixed version");
</script>
|