tor-browser

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

moz-appearance.html (676B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>-moz-appearance should be unsupported in CSSStyleProperties</title>
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <style>
      7 #input {
      8    -moz-appearance: textfield;
      9 }
     10 </style>
     11 <input type="number" id="input"></input>
     12 <script>
     13    test(function() {
     14        assert_equals(input.style.MozAppearance, undefined);
     15        assert_equals(getComputedStyle(input).getPropertyValue('-moz-appearance'), 'textfield');
     16        assert_equals(getComputedStyle(input).getPropertyValue('appearance'), 'textfield');
     17    }, '-moz-appearance is not exposed in CSSStyleProperties');
     18 </script>