tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_moz_prefixed_cursor.html (510B)


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