tor-browser

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

interactivity-inert-all.html (520B)


      1 <!DOCTYPE html>
      2 <title>CSS UI Test: The 'all' shorthand includes 'interactivity'</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#inertness">
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <style>
      7  #inert {
      8    interactivity: inert;
      9    all: initial;
     10  }
     11 </style>
     12 <div id="inert"></div>
     13 <script>
     14  test(() => {
     15    assert_equals(getComputedStyle(inert).interactivity, "auto");
     16  }, "The 'all' shorthand should set 'interactivity'");
     17 </script>