tor-browser

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

legend-display-none.html (395B)


      1 <!doctype html>
      2 <title>legend display: none</title>
      3 <script src=/resources/testharness.js></script>
      4 <script src=/resources/testharnessreport.js></script>
      5 <style>
      6 legend { display: none; }
      7 </style>
      8 <fieldset>
      9 <legend>Foo</legend>
     10 </fieldset>
     11 <script>
     12 test(() => {
     13   const display = getComputedStyle(document.querySelector('legend')).display;
     14   assert_equals(display, 'none');
     15 });
     16 </script>